lib/cistern/wait_for.rb in cistern-0.5.4 vs lib/cistern/wait_for.rb in cistern-0.5.6
- old
+ new
@@ -1,10 +1,10 @@
require 'timeout'
module Cistern
module WaitFor
- DEFAULT_TIMEOUT = 3 * 60 # 3 minutes
- DEFAULT_POLL_INTERVAL = 10 # seconds
+ DEFAULT_TIMEOUT = 180 # 3 minutes
+ DEFAULT_POLL_INTERVAL = 10 # 10 seconds
def timeout; @timeout || DEFAULT_TIMEOUT; end
def timeout=(timeout); @timeout = timeout; end
def poll_interval; @poll_interval || DEFAULT_POLL_INTERVAL; end
def poll_interval=(poll_interval); @poll_interval = poll_interval; end