Browse Source

update default lease expiration

set to one week plus an extra hour
master
Aaron Parecki 9 years ago
parent
commit
0d09ce1203
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/PushTask.php

+ 1
- 1
lib/PushTask.php View File

@ -10,7 +10,7 @@ class PushTask {
$feed = db\get_by_id('feeds', $subscription->feed_id);
// Choose the expiration for the subscription
$lease_seconds = 86400*3;
$lease_seconds = 86400*7 + 3600;
$exp_ts = time() + $lease_seconds;
$exp_date = date('Y-m-d H:i:s', $exp_ts);

Loading…
Cancel
Save