Skip to content

Commit

Permalink
reset signing token every 20 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba committed Sep 30, 2016
1 parent cc45219 commit 606728d
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/apns.js
Original file line number Diff line number Diff line change
@@ -44,9 +44,9 @@ const SIGNING_ALGORITHM = `ES256`;

/**
* @const
* @desc Reset our signing token every 30 minutes as reccomended by Apple
* @desc Reset our signing token every 20 minutes as reccomended by Apple
*/
const RESET_TOKEN_INTERVAL = 30 * 60 * 1000;
const RESET_TOKEN_INTERVAL = 20 * 60 * 1000;

/**
* @class APNS
2 changes: 1 addition & 1 deletion wercker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
box: node:6.2.2
box: node:6.7.0

build:
steps:

0 comments on commit 606728d

Please sign in to comment.