diff options
author | Brion Vibber <brion@pobox.com> | 2009-12-01 14:38:34 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-12-01 14:53:27 -0800 |
commit | edb2578e939ee59fa664c922c5f5d916219bcf8c (patch) | |
tree | 2522437fe0f654b62590c722c1f6258e396bd172 /lib/omb.php | |
parent | de13c4838e8d7c00e2f9b676b5d005317d467538 (diff) |
Ticket 2048: make OMB posting HTTP timeout configurable as $config['omb']['timeout']; defaults to 5 seconds instead of 20-second default in Yadis library
Diffstat (limited to 'lib/omb.php')
-rw-r--r-- | lib/omb.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/omb.php b/lib/omb.php index e2a6d9f3f..0f38a4936 100644 --- a/lib/omb.php +++ b/lib/omb.php @@ -167,6 +167,7 @@ class StatusNet_OMB_Service_Consumer extends OMB_Service_Consumer { $this->datastore = omb_oauth_datastore(); $this->oauth_consumer = omb_oauth_consumer(); $this->fetcher = Auth_Yadis_Yadis::getHTTPFetcher(); + $this->fetcher->timeout = intval(common_config('omb', 'timeout')); } } |