Updated worker logic, separate DB cursors, 5-min schedule, and improved error handling.
This commit is contained in:
parent
3adb2d0c99
commit
5846d1310d
2 changed files with 8 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ if __name__ == '__main__':
|
|||
scheduler.add_job(
|
||||
fetch_and_store,
|
||||
"interval",
|
||||
minutes=15,
|
||||
minutes=3,
|
||||
id="rss_job",
|
||||
next_run_time=datetime.utcnow() + timedelta(seconds=10)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue