DEV: Bump wait between Unicorn status check to to 2 seconds.

cc @codinghorror
This commit is contained in:
Guo Xiang Tan 2020-05-04 10:01:51 +08:00
parent d4ffaf8f5f
commit ef83f9cde1
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20
1 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ class DockerManager::Upgrader
iterations += 1
break if iterations >= 60
log("Waiting for Unicorn to reload#{'.' * iterations}")
sleep 1
sleep 2
end
iterations = 0
@ -252,7 +252,7 @@ class DockerManager::Upgrader
iterations += 1
break if iterations >= 60
log("Waiting for Unicorn workers to start up#{'.' * iterations}")
sleep 1
sleep 2
end
end