Skip to content

Commit

Permalink
change fial safe trigger for getContext
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHindi committed Feb 25, 2016
1 parent ba9bf88 commit 346be12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/buildfire.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ var buildfire = {
buildfire._resendAttempts++;
}
}
}, 1000);
}, packet.cmd.indexOf('getContext') == 0? 250 : 1000);

var wrapper = function (err, data) {
clearTimeout(timeout); // commented this to remove the 'timeout is not defined' error.
callback(err, data);
Expand Down

0 comments on commit 346be12

Please sign in to comment.