Fix back off reset.
This commit is contained in:
parent
a6db0f6fd9
commit
cd3c031df1
@ -222,6 +222,9 @@ function tryConnect() {
|
|||||||
function onSuccessfulConnection() {
|
function onSuccessfulConnection() {
|
||||||
/* jshint validthis: true */
|
/* jshint validthis: true */
|
||||||
|
|
||||||
|
// Reset back off.
|
||||||
|
this._backOff = fibonacci(1e3);
|
||||||
|
|
||||||
// FIXME: session.signIn() should work with both token and password.
|
// FIXME: session.signIn() should work with both token and password.
|
||||||
return this._api.call(
|
return this._api.call(
|
||||||
this._auth.token ?
|
this._auth.token ?
|
||||||
|
Loading…
Reference in New Issue
Block a user