Skip to content

Commit

Permalink
Increase bootstrap timeout on ensure_database_not_connected
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan committed Jun 21, 2023
1 parent 484f00f commit a49668c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion edb/server/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2105,10 +2105,14 @@ async def _bootstrap(ctx: BootstrapContext) -> None:
# and wait until it goes away on the server side
# so that we can safely use the template for new
# databases.
#
# The timeout is set weirdly high, because we were getting
# frequent timeouts in macos-x86_64 release builds when it
# was set to 10s.
conn.terminate()
rloop = retryloop.RetryLoop(
backoff=retryloop.exp_backoff(),
timeout=10.0,
timeout=60.0,
ignore=errors.ExecutionError,
)

Expand Down

0 comments on commit a49668c

Please sign in to comment.