File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/europython_discord/registration Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ async def cog_unload(self) -> None:
243243 "We apologize for the inconvenience and are working hard to fix the issue."
244244 )
245245
246- @tasks .loop (minutes = 5 )
246+ @tasks .loop (minutes = 1 )
247247 async def fetch_pretix_updates (self ) -> None :
248248 _logger .info ("Starting the periodic pretix update..." )
249249 try :
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ async def fetch_pretix_data(self) -> None:
5858 async with self ._fetch_lock :
5959 # ... but does not trigger a second fetch
6060 now = datetime .now (tz = UTC )
61- if self ._last_fetch and now - self ._last_fetch < timedelta (minutes = 2 ):
61+ if self ._last_fetch and now - self ._last_fetch < timedelta (minutes = 0.9 ):
6262 _logger .info (f"Skipping pretix fetch (last fetch was at { self ._last_fetch } )" )
6363 return
6464
You can’t perform that action at this time.
0 commit comments