Skip to content

Commit

Permalink
Lower TDPuller's kMaxOpenHTTPConnections to 4
Browse files Browse the repository at this point in the history
Fixes #163
  • Loading branch information
snej committed Sep 18, 2012
1 parent 9940aef commit facc703
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/TDPuller.m
Expand Up @@ -28,7 +28,8 @@


// Maximum number of revisions to fetch simultaneously
#define kMaxOpenHTTPConnections 8
// (This used to be 8, but sometimes connections got stuck and timed out. See #163)
#define kMaxOpenHTTPConnections 4

// ?limit= param for _changes feed: max # of revs to get in one batch. Smaller values reduce
// latency since we can't parse till the entire result arrives in longpoll mode. But larger
Expand Down

0 comments on commit facc703

Please sign in to comment.