Fix: Prevent creating multiple today fixtures by adding cache
- Added _cached_today_fixture_id and _today_fixture_cache_time to cache today's fixture - Cache is valid for 60 seconds to prevent race conditions - This prevents multiple fixtures being created when _get_or_create_today_fixture is called multiple times in quick succession - Also provides MySQL queries for user to clean up duplicate fixtures
Showing
Please
register
or
sign in
to comment