Skip to content
Permalink
Browse files

Bumped snapshot timeout from 256 to 1024

  • Loading branch information
EmptyM committed Nov 12, 2019
1 parent a746b2a commit bef49de5f7e00ea248ea7cb2e228ab24c65d3fec
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/workers/wait_for_snapshotting_server_worker.rb
@@ -31,7 +31,7 @@ def perform(server_id, digital_ocean_action_id, times = 0)
if times >= 32 && times % 8 == 0
server.log("Still waiting for Digital Ocean server to snapshot, tried #{times} times")
end
if times >= 256
if times >= 1024
server.log('Digital Ocean took too long to snapshot server. Aborting')
server.reset_state
return

0 comments on commit bef49de

Please sign in to comment.
You can’t perform that action at this time.