Permalink
Browse files

Increase timeout for collection syncTo

  • Loading branch information...
1 parent 7dc457a commit 5a63fdf917045ec0b507c71acaf0ef6b90dac421 Chris McBride committed Feb 1, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 models/collection.coffee
  2. +1 −1 package.json
View
@@ -16,12 +16,12 @@ class Collection extends Backbone.Collection
unless opts.from_handler
# the timeout is used to account for eventual consistency. This can be
# removed if we are using an ACID database.
- setTimeout((-> otherCol.fetch(update: true, from_handler: true)), 150)
+ setTimeout((-> otherCol.fetch(update: true, from_handler: true)), 200)
), this)
otherCol.on('sync add remove', ((model, resp, opts) =>
unless opts.from_handler
- setTimeout((=> @fetch(update: true, from_handler: true)), 150)
+ setTimeout((=> @fetch(update: true, from_handler: true)), 200)
), this)
View
@@ -1,6 +1,6 @@
{
"name": "quips",
- "version": "0.0.36",
+ "version": "0.0.37",
"dependencies": {
"coffee-script": "~1.3.3",
"jqueryify2": "0.0.1",

0 comments on commit 5a63fdf

Please sign in to comment.