summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indeedwatcher.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indeedwatcher.nim b/src/indeedwatcher.nim
index 347e419..7bdad49 100644
--- a/src/indeedwatcher.nim
+++ b/src/indeedwatcher.nim
@@ -25,7 +25,7 @@ if not fileExists(getConfigDir() & "/indeedwatcher/config.toml"):
"""
writeFile(getConfigDir() & "/indeedwatcher/config.toml", defaultConfig)
-if not fileExists(getCacheDir() & "/indeedwatcher/config.toml"):
+if not fileExists(getCacheDir() & "/indeedwatcher/listings.cache"):
createDir(getCacheDir() & "/indeedwatcher/")
writeFile(getCacheDir() & "/indeedwatcher/listings.cache", "")
@@ -87,7 +87,7 @@ for feed in feeds:
for entry in rssFeedReply.items:
#Sleep so indeed.com doesn't freak out
- if counter > 7:
+ if counter > 4:
echo "resting for 7 seconds ..."
sleep 7000
counter = 0