From 606728d1f9e3369c09f4869ddcfdf17f9d3da833 Mon Sep 17 00:00:00 2001 From: Andrew Barba Date: Fri, 30 Sep 2016 12:15:37 -0400 Subject: [PATCH] reset signing token every 20 minutes --- lib/apns.js | 4 ++-- wercker.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/apns.js b/lib/apns.js index cdd5b8a8..c2250559 100644 --- a/lib/apns.js +++ b/lib/apns.js @@ -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 diff --git a/wercker.yml b/wercker.yml index e52b70b9..cdc18b80 100644 --- a/wercker.yml +++ b/wercker.yml @@ -1,4 +1,4 @@ -box: node:6.2.2 +box: node:6.7.0 build: steps: