Skip to content

Commit cf8d9a2

Browse files
committed
Resource debug logging was causing the script to hang whith large numnber of resources - #107
1 parent 1cb8011 commit cf8d9a2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/JonnyW/PhantomJs/Resources/procedures/http_lazy.proc

-3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ page.onResourceRequested = function (req) {
6161

6262
resources++;
6363
window.clearTimeout(timeout);
64-
65-
debug.push(new Date().toISOString().slice(0, -5) + ' [INFO] PhantomJS - Resource requested (' + req.url + ')');
6664
};
6765

6866
/**
@@ -77,7 +75,6 @@ page.onResourceReceived = function (res) {
7775
if(!res.stage || res.stage === 'end') {
7876

7977
resources--;
80-
debug.push(new Date().toISOString().slice(0, -5) + ' [INFO] PhantomJS - Resource received (' + res.url + ') ~ ' + res.status);
8178

8279
if (resources === 0) {
8380

0 commit comments

Comments
 (0)