This is a followup to http://drupal.org/node/1567422
All http requests have a 30 second timeout. It never changes regardless of $timeout. My Optimize takes longer than that.
The problem seems to be in the use of drupal_http_request
If I'm reading it correctly, we need to pass in a $timeout parameter or we get the 30 second default which is exactly what I observe.
I'm not sure how relevant or useful it is to set default_socket_timeout. Maybe we need both since drupal_http_request is using low level socket functions.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.