Skip to content

Commit

Permalink
KSD-244 and framey frames issues
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sturley committed Sep 5, 2014
1 parent b5075ab commit 4657dc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/base/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ Check.prototype.run = function (node, options, callback) {

if (!checkHelper.isAsync) {
checkResult.result = result;
callback(checkResult);
setTimeout(function () {
callback(checkResult);
}, 0);
}
} else {
callback(null);
Expand Down
5 changes: 4 additions & 1 deletion lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ function collectResultsFromFrames(context, options, callback) {
q.defer(function (done) {

var timeout = setTimeout(function () {
done({});
timeout = setTimeout(function () {
dqre.log('No response from frame: ', node);
done({});
}, 0);
}, 500);

utils.respondable(win, 'dqre.analysis.ping', null, function () {
Expand Down

0 comments on commit 4657dc5

Please sign in to comment.