Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update db.py #308

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update db.py #308

wants to merge 1 commit into from

Conversation

clarksun
Copy link
Contributor

if dbw is a batch server or score log process server, I mean this db process do not consume spider log topic, After add no-incoming flag to db launch command, group dbw-spider-log always log 'Heartbeat session expired. so I add this condition to prevent init spider_log.consumer

if dbw is a `batch server` or `score log process server`, I mean this db process do not consume spider log topic, After add `no-incoming` flag to db launch command,  group `dbw-spider-log` always log 'Heartbeat session expired. so I add this condition to prevent init spider_log.consumer
@sibiryakov
Copy link
Member

Hi, have you tested it @clarksun ? Is DBW with --no-incoming option working?

@clarksun
Copy link
Contributor Author

@sibiryakov this is our dbw. https://gist.github.com/clarksun/f651c2200164ce9999428d858e67d81b

batch server and scoring server both add --no-incoming, and works well.

@Prometheus3375
Copy link

Seems like this PR is outdated, so it can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants