From: Mikael Nordfeldth Date: Wed, 13 Jan 2016 18:24:07 +0000 (+0100) Subject: Request a month long sub lease by default X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a5fd4fde25cd6e94a3140d5de4d01832678495fa;p=quix0rs-gnu-social.git Request a month long sub lease by default --- diff --git a/plugins/OStatus/classes/FeedSub.php b/plugins/OStatus/classes/FeedSub.php index 0c7129e885..ad2c4ed684 100644 --- a/plugins/OStatus/classes/FeedSub.php +++ b/plugins/OStatus/classes/FeedSub.php @@ -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();