Skip to content

Commit

Permalink
fix: increase time limit for indexing hn
Browse files Browse the repository at this point in the history
  • Loading branch information
adinhodovic committed Jun 3, 2024
1 parent 33dd152 commit 9ba4373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_wtf/core/hacker_news_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from .utils import log_action


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

0 comments on commit 9ba4373

Please sign in to comment.