Skip to content

Commit

Permalink
reverted forced timeout of the token
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Walsh committed Mar 14, 2017
1 parent 53a47c9 commit ae43d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ Object.assign(Application.prototype, {
*/

var expiry = new Date(this.options.tokenExpiry),
checkTime = addMinutes(new Date(), 29);
checkTime = addMinutes(new Date(), 3);

if (checkTime >= expiry) {
logger.debug("Refreshing Access Token");
Expand Down

0 comments on commit ae43d41

Please sign in to comment.