Skip to content

Commit

Permalink
Fix out of order timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
demosdemon committed Aug 7, 2012
1 parent 30c5839 commit 44204a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/IRC/IRCWorld.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ - (id)init
self.clients = [NSMutableArray new];

self.messageOperationQueue = [NSOperationQueue new];
self.messageOperationQueue.name = @"IRCWordMessageOperationQueue";
self.messageOperationQueue.maxConcurrentOperationCount = 1;
// Only 1 at a time or else we get a race condition and out of order messages
}

return self;
Expand Down

0 comments on commit 44204a8

Please sign in to comment.