Run convert price task every minute

This commit is contained in:
Lukáš Kucharczyk 2024-11-11 00:47:48 +01:00
parent b0eb28618c
commit 63e307d251
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ def schedule_tasks(sender, **kwargs):
schedule(
"games.convert_price.update_converted_prices",
name="Update converted prices",
schedule_type=Schedule.HOURLY,
schedule_type=Schedule.MINUTES,
next_run=now() + timedelta(seconds=30),
)

View File

@ -14,7 +14,7 @@ class Command(BaseCommand):
schedule(
"games.convert_price.update_converted_prices",
name="Update converted prices",
schedule_type=Schedule.HOURLY,
schedule_type=Schedule.MINUTES,
next_run=now() + timedelta(seconds=30),
)
self.stdout.write(