Permalink
Browse files

Longer retry

  • Loading branch information...
1 parent 0d177c1 commit 6f040e2fdddfb7ee9759bca7eaad87481fbb46b6 @josh committed Apr 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ups.coffee
View
2 ups.coffee
@@ -41,7 +41,7 @@ submitLogin = (page, username, password, callback) ->
# callback - Function to invoke when ready
#
# Returns nothing.
-waitForCalendar = (page, callback, retry = 100) ->
+waitForCalendar = (page, callback, retry = 500) ->
if retry < 0
html = page.evaluate -> document.body.innerHTML
return callback new Error "Timed out waiting for calendar: #{html}"

0 comments on commit 6f040e2

Please sign in to comment.