Skip to content

Commit

Permalink
Adjusted retry verbiage to eliminate ordinal suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
joekepley committed Aug 14, 2013
1 parent f066aa9 commit 41a8287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autobahn/autobahn.js
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ ab._connect = function (peer) {

// notify the app of scheduled reconnect
stop = peer.onHangup(ab.CONNECTION_UNREACHABLE_SCHEDULED_RECONNECT,
"Connection unreachable - scheduled " + peer.retryCount + "th reconnect to occur in " + (peer.options.retryDelay / 1000) + " second(s).",
"Connection unreachable - scheduled reconnect to occur in " + (peer.options.retryDelay / 1000) + " second(s) - attempt " + peer.retryCount + " of " + peer.options.maxRetries + ".",
{delay: peer.options.retryDelay,
retries: peer.retryCount,
maxretries: peer.options.maxRetries});
Expand Down

0 comments on commit 41a8287

Please sign in to comment.