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

increase timeouts range in both worker and bundle-manager to help all… #4421

Merged
merged 1 commit into from
Mar 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codalab/rest/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def checkin(worker_id):
Waits for a message for the worker for WAIT_TIME_SECS seconds. Returns the
message or None if there isn't one.
"""
WAIT_TIME_SECS = 3.0
WAIT_TIME_SECS = 5.0

# Old workers might not have all the fields, so allow subsets to be missing.
socket_id = local.worker_model.worker_checkin(
Expand Down
2 changes: 1 addition & 1 deletion codalab/server/bundle_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def _acknowledge_recently_finished_bundles(self, workers):
worker['socket_id'],
worker['worker_id'],
{'type': 'mark_finalized', 'uuid': bundle.uuid},
0.2,
1,
):
logger.info(
'Acknowledged finalization of run bundle {} on worker {}'.format(
Expand Down