Make timeout configurable per driver

main
Elbert Alias 8 years ago
parent 2bcb73b4ba
commit 6a4a7f7a8c

@ -59,6 +59,8 @@
;
w.driver = {
timeout: 1000,
/**
* Log messages to console
*/

@ -15,6 +15,8 @@
headersCache = {};
w.driver = {
timeout: 1000,
/**
* Log messages to console
*/

@ -343,6 +343,8 @@
}
w.driver = {
timeout: 1000,
/**
* Log messages to console
*/

@ -125,7 +125,7 @@ var wappalyzer = (function() {
this.lastTime = new Date().getTime();
this.timedOut = this.lastTime - this.startTime > 1000;
this.timedOut = this.lastTime - this.startTime > w.driver.timeout;
}
};

@ -52,6 +52,8 @@
}
wappalyzer.driver = {
timeout: 1000,
/**
* Log messages to console
*/

@ -125,7 +125,7 @@ var wappalyzer = (function() {
this.lastTime = new Date().getTime();
this.timedOut = this.lastTime - this.startTime > 1000;
this.timedOut = this.lastTime - this.startTime > w.driver.timeout;
}
};

Loading…
Cancel
Save