summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-02-14 23:07:34 -0600
committermsglm <msglm@techchud.xyz>2023-02-14 23:07:34 -0600
commit9e541a3e96cdd2103825b6ce7079a2c58d086fc3 (patch)
tree0b62be0578001d2b720c6808bd2d0a4a020f5da2
parent2eb99858cc0ad58ce764f2d82bf70f9e5b14e600 (diff)
downloadindeedwatcher-9e541a3e96cdd2103825b6ce7079a2c58d086fc3.tar.gz
indeedwatcher-9e541a3e96cdd2103825b6ce7079a2c58d086fc3.tar.bz2
indeedwatcher-9e541a3e96cdd2103825b6ce7079a2c58d086fc3.zip
make indeed watcher sleep more often
-rw-r--r--src/indeedwatcher.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indeedwatcher.nim b/src/indeedwatcher.nim
index 7bdad49..bc52138 100644
--- a/src/indeedwatcher.nim
+++ b/src/indeedwatcher.nim
@@ -87,9 +87,9 @@ for feed in feeds:
for entry in rssFeedReply.items:
#Sleep so indeed.com doesn't freak out
- if counter > 4:
- echo "resting for 7 seconds ..."
- sleep 7000
+ if counter > 7:
+ echo "resting for 10 seconds ..."
+ sleep 10000
counter = 0
#Don't even bother visiting it if its in the cache