Skip to content

Commit

Permalink
extened the cache time for pushover receipts
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Sep 2, 2015
1 parent 8b3164f commit e96e120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pushnotify.js
Expand Up @@ -13,7 +13,7 @@ function init(env, ctx) {
return pushnotify;
}

var receipts = new NodeCache({ stdTTL: times.mins(15).secs, checkperiod: 120 });
var receipts = new NodeCache({ stdTTL: times.hour().secs, checkperiod: times.mins(5).secs });
var recentlySent = new NodeCache({ stdTTL: times.mins(15).secs, checkperiod: 20 });

pushnotify.emitNotification = function emitNotification (notify) {
Expand Down

0 comments on commit e96e120

Please sign in to comment.