Skip to content

Commit 39d2f9e

Browse files
authored
Tweak start_delay
In general, the start should be reasonably fast, definitely under a minute, but the very first time there may be some cache construction operations that seem to become longer and longer.
1 parent fe49077 commit 39d2f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/vm/container_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# Timeout in seconds to wait for a container to shutdown, network to start etc.
3939
timeout = 120
4040
# Time after which SageCell should be up and running.
41-
start_delay = 126
41+
start_delay = 66
4242
# How long to wait after starting new containers before destroying old ones.
4343
deploy_delay = 2*60*60 # Two hours to allow all interacts finish "naturally".
4444

@@ -937,7 +937,7 @@ def create(self):
937937
self.shutdown()
938938
# Let first-time tasks to run and complete.
939939
self.start()
940-
timer_delay(start_delay)
940+
timer_delay(start_delay + 300)
941941
else:
942942
# If the name is not recognized as some intermediate step, we assume
943943
# that a copy of the fully built SageMathCell is desired

0 commit comments

Comments
 (0)