Remove dead code.
This commit is contained in:
parent
311af88cfa
commit
94db5dbdcf
@ -79,8 +79,6 @@ export function fetchJson(connection: string | ConnectionInfo, json?: string, pr
|
||||
let allow304 = false;
|
||||
|
||||
let timeout = 2 * 60 * 1000;
|
||||
let throttle = 25;
|
||||
if (options.throttleLimit) { throttle = options.throttleLimit; }
|
||||
|
||||
if (typeof(connection) === "string") {
|
||||
url = connection;
|
||||
@ -156,9 +154,6 @@ export function fetchJson(connection: string | ConnectionInfo, json?: string, pr
|
||||
|
||||
return { promise, cancel };
|
||||
})();
|
||||
if (throttle == 100) {
|
||||
console.log(throttle);
|
||||
}
|
||||
|
||||
const runningFetch = (async function() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user