reduce the delay between requests - now we always send 4 at a time, rather than larger batches, a shorter delay is better
This commit is contained in:
parent
c2ffad80d7
commit
fe2542902c
@ -41,8 +41,7 @@ window.MapDataRequest = function() {
|
|||||||
|
|
||||||
|
|
||||||
// a short delay between one request finishing and the queue being run for the next request.
|
// a short delay between one request finishing and the queue being run for the next request.
|
||||||
// this gives a chance of other requests finishing, allowing better grouping of retries in new requests
|
this.RUN_QUEUE_DELAY = 0.05;
|
||||||
this.RUN_QUEUE_DELAY = 0.2;
|
|
||||||
|
|
||||||
// delay before processing the queue after failed requests
|
// delay before processing the queue after failed requests
|
||||||
this.BAD_REQUEST_RUN_QUEUE_DELAY = 10; // longer delay before doing anything after errors (other than TIMEOUT)
|
this.BAD_REQUEST_RUN_QUEUE_DELAY = 10; // longer delay before doing anything after errors (other than TIMEOUT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user