feat: ability to reset marketplace
This commit is contained in:
@@ -25,6 +25,11 @@ async def update_marketplaces(marketplace_ids: list[int]):
|
||||
return await background.update.update_marketplaces(marketplace_ids)
|
||||
|
||||
|
||||
@taskiq_broker.task(task_name='reset_marketplace')
|
||||
async def reset_marketplace(marketplace_id: int):
|
||||
return await background.update.reset_marketplace(marketplace_id)
|
||||
|
||||
|
||||
@taskiq_broker.task(schedule=[{"cron": "* * * * *"}])
|
||||
async def flush_buffer():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user