Skip to content

Commit 932fd95

Browse files
increased job interval to 10 minutes
1 parent 1b71ba0 commit 932fd95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def feedLobsters():
5757
return render_template_string('PageNotFound {{ errorCode }}', errorCode='404'), 404
5858

5959

60-
@scheduler.task('interval', id='scrapeJob', seconds=60, max_instances=1)
60+
@scheduler.task('interval', id='scrapeJob', seconds=600, max_instances=1)
6161
def scrapeJob():
6262
print('Executing scraping job.')
6363
hnScraper = HackerNewsScraper()

0 commit comments

Comments
 (0)