From 15a9c869794ea3948086afa5310696e1250d9a26 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 1 Dec 2009 14:38:34 -0800 Subject: Ticket 2048: make OMB posting HTTP timeout configurable as $config['omb']['timeout']; defaults to 5 seconds instead of 20-second default in Yadis library --- lib/omb.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/omb.php') 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')); } } -- cgit v1.2.3-54-g00ecf