diff options
author | Christopher Baines <cb15g11@soton.ac.uk> | 2015-03-12 20:42:12 +0000 |
---|---|---|
committer | Christopher Baines <cb15g11@soton.ac.uk> | 2015-03-12 20:42:12 +0000 |
commit | ea004c6295fb78736f19fa5d753b57468fbb025d (patch) | |
tree | 85adb6c27f3b4aa65672dcfcede8ea34b08050ec | |
parent | ddba621bb02ef18cf180194a46f6f267b7f626ee (diff) | |
download | uos-live.js-ea004c6295fb78736f19fa5d753b57468fbb025d.tar uos-live.js-ea004c6295fb78736f19fa5d753b57468fbb025d.tar.gz |
Don't poll so frequently
This needs more work, as regular polling would be better.
-rw-r--r-- | uos-live.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/uos-live.js b/uos-live.js index b1fc127..75f0ec0 100644 --- a/uos-live.js +++ b/uos-live.js @@ -31,6 +31,7 @@ }); req.maxTries = -1; + req.maxDelay = 60000; req.start('GET', url); }; |