Request a month long sub lease by default

This commit is contained in:
Mikael Nordfeldth 2016-01-13 19:24:07 +01:00
parent b38a789005
commit a5fd4fde25
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ class FeedSub extends Managed_DataObject
'hub.verify' => 'async', // TODO: deprecated, remove when noone uses PuSH <0.4 (only 'async' method used there)
'hub.verify_token' => 'Deprecated-since-PuSH-0.4', // TODO: rm!
'hub.lease_seconds' => 2592000, // 3600*24*30, request approximately month long lease (may be changed by hub)
'hub.secret' => $this->secret,
'hub.topic' => $this->getUri());
$client = new HTTPClient();