Skip to content

Commit 9ba4373

Browse files
committed
fix: increase time limit for indexing hn
1 parent 33dd152 commit 9ba4373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_wtf/core/hacker_news_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from .utils import log_action
1010

1111

12-
@app.task
12+
@app.task(soft_time_limit=30 * 60)
1313
def index_hn_submissions():
1414
# https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty
1515
client = superrequests.Session()

0 commit comments

Comments
 (0)