Ticket 2048: make OMB posting HTTP timeout configurable as $config['omb']['timeout']; defaults to 5 seconds instead of 20-second default in Yadis library
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user