Skip to content

Commit

Permalink
Merge pull request disqus#62 from KayLeung/patch-1
Browse files Browse the repository at this point in the history
Incrase HTTP request timeout to 60s
  • Loading branch information
mattrobenolt committed Jan 3, 2014
2 parents 6fcd3b3 + 6914cd6 commit c4394c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion disqus/lib/wp-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ function import_wordpress_comments(&$wxr, $timestamp, $eof=true) {
'wxr' => $wxr,
'timestamp' => $timestamp,
'eof' => (int)$eof
)
),
'timeout' => '60'
)
);
if ($response->errors) {
Expand Down

0 comments on commit c4394c1

Please sign in to comment.