Skip to content

Commit

Permalink
refactor: remove logserver (#1757)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanFM committed Jan 22, 2021
1 parent 4a15472 commit 6b0efb9
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions docs/chapters/flow/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ You can also write a Flow in YAML:

```yaml
!Flow
with:
logserver: true
pods:
chunk_seg:
uses: craft/index-craft.yml
Expand Down
1 change: 0 additions & 1 deletion jina/resources/helloworld.flow.index.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
!Flow
version: '1.0'
with:
logserver: $WITH_LOGSERVER
compress_hwm: 1024
pods:
- name: encode
Expand Down
3 changes: 1 addition & 2 deletions jina/resources/helloworld.flow.query.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
version: '1.0'
with:
read_only: true # better add this in the query time
logserver: $WITH_LOGSERVER
compress_hwm: 1024
pods:
- name: encode
Expand All @@ -15,4 +14,4 @@ pods:
uses_after: $RESOURCE_DIR/helloworld.reduce.yml
timeout_ready: 100000 # larger timeout as in query time will read all the data
- name: evaluate # optional evaluation, do another step for precision/recall computing
uses: _eval_pr # use internal evaluator on precision & recall
uses: _eval_pr # use internal evaluator on precision & recall
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
!Flow
with:
logserver: false
compress_hwm: 1024
pods:
encode:
Expand Down
4 changes: 0 additions & 4 deletions tests/unit/yaml/test_log_server.yml

This file was deleted.

0 comments on commit 6b0efb9

Please sign in to comment.