Skip to content
Snippets Groups Projects
Commit de271475 authored by Dan Notestein's avatar Dan Notestein
Browse files

Set hivemind timeout to 5 seconds by default

parent ca32c22e
No related branches found
No related tags found
2 merge requests!78Set hivemind timeout to 5 seconds by default,!77Set hivemind timeout to 5 seconds by default
Pipeline #117450 passed
......@@ -108,7 +108,7 @@ HIVEMIND_SYNC_ARGS=
# Timeout for Hivemind API calls, any queries that take longer than
# this time will be aborted. 0 for unlimited, or give a nonzero
# time limit in milliseconds
# HIVEMIND_STATEMENT_TIMEOUT=0
# HIVEMIND_STATEMENT_TIMEOUT=5000
# The default setup will run the recommended version of balance tracker,
# you can run a custom version by un-commenting and modifying the
......
......@@ -9,7 +9,7 @@ services:
command:
- "setup"
- "--database-admin-url=postgresql://haf_admin@haf/haf_block_log"
- "--statement-timeout=${HIVEMIND_STATEMENT_TIMEOUT:-0}"
- "--statement-timeout=${HIVEMIND_STATEMENT_TIMEOUT:-5000}"
depends_on:
haf:
condition: service_healthy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment