feat: Update domain synchronization frequency
All checks were successful
Build Docker / Build Docker (push) Successful in 26s

The code change updates the domain synchronization frequency in the server.py file. Instead of running every hour, it now runs every 5 minutes. This change improves real-time data updates for domains.
This commit is contained in:
Nathan Woodburn 2023-12-11 20:59:06 +11:00
parent 8fdb777ba4
commit e8208b8563
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -50,7 +50,7 @@ def establish_database_connection():
if __name__ == '__main__':
scheduler = BackgroundScheduler()
scheduler.add_job(domains.syncDomains, 'cron', hour='*')
scheduler.add_job(domains.syncDomains, 'cron', minute='*/5')
scheduler.start()
establish_database_connection()