Changeset 11ec078 for protocols/twitter


Ignore:
Timestamp:
2012-09-22T12:44:47Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
9c77fbf, a07a8c2
Parents:
d0752e8
Message:

Since I can't figure out where the stalls are coming from at this point, at
least have a work-around for it.

After hitting the Twitter timer a few times while a previous fetch still
seems to be running, close the connection. Auto-reconnect will do the rest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    rd0752e8 r11ec078  
    735735
    736736        if (td->flags & TWITTER_DOING_TIMELINE) {
    737                 return;
     737                if (++td->http_fails >= 5) {
     738                        imcb_error(ic, "Fetch timeout (%d)", td->flags);
     739                        imc_logout(ic, TRUE);
     740                }
    738741        }
    739742
Note: See TracChangeset for help on using the changeset viewer.