Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

increased timeout for twitter calls

  • Loading branch information...
commit c71cb5143ca791d4aec7bf12e60bc31bfebe0cee 1 parent 01462b3
Rob Righter authored April 27, 2010

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  static/js/tweetwrap.js
6  static/js/tweetwrap.js
@@ -22,7 +22,7 @@ var tweetWrap = function (screenname, initcallback, notifyprogress, abandon){
22 22
     var getFollowers = function (cursor){
23 23
         var timeout = setTimeout(function(){ 
24 24
              that.abandoncallback('The Twitter API is currently unavailable from your location. Please try again later.')}
25  
-             ,5000);
  25
+             ,9000);
26 26
         $.ajax({
27 27
             'url': ('http://api.twitter.com/1/statuses/followers.json?callback=?&screen_name='+ that.userscreenname +'&cursor='+cursor),
28 28
             success: function(result) {
@@ -47,7 +47,7 @@ var tweetWrap = function (screenname, initcallback, notifyprogress, abandon){
47 47
     var getFollowing = function (cursor){  
48 48
         var timeout = setTimeout(function(){ 
49 49
              that.abandoncallback('The Twitter API is currently unavailable from your location. Please try again later.')}
50  
-             ,5000);
  50
+             ,9000);
51 51
         $.ajax({
52 52
             'url': ('http://api.twitter.com/1/statuses/friends.json?callback=?&screen_name='+ that.userscreenname + '&cursor=' + cursor),
53 53
             success: function(result) {
@@ -116,7 +116,7 @@ var tweetWrap = function (screenname, initcallback, notifyprogress, abandon){
116 116
          var diderror = true;
117 117
          var timeout = setTimeout(function(){ 
118 118
              that.abandoncallback('Either the user does not exist or the Twitter API is unavailable. Please try again later.')}
119  
-             ,5000);
  119
+             ,9000);
120 120
              
121 121
          $.ajax({
122 122
                 'url': ('http://api.twitter.com/1/users/show.json?callback=?&screen_name='+screenname),

0 notes on commit c71cb51

Please sign in to comment.
Something went wrong with that request. Please try again.