Files
jellyfin-ha-src/Emby.Server.Implementations
unkin-agent 3b416c7fb2 feat: gate periodic library tasks behind a scan-leader lease
Timer-driven library tasks fire on every replica, so a library refresh or a
database optimise runs once per pod against the same shared library.

- add IScanLeaderLease with a Redis TTL implementation and a no-op default
- skip timer-driven runs of the gated tasks on instances without the lease
- treat an unreachable Redis as holding the lease so tasks never stop running
- leave manual and API-triggered runs ungated
2026-09-11 23:56:51 +10:00
..
2026-05-21 20:48:41 +02:00
2020-04-19 13:39:12 -04:00
2026-05-21 20:48:41 +02:00
2026-08-25 21:03:51 +02:00
2023-10-03 10:25:14 -04:00
2026-09-06 08:38:43 +02:00
2026-07-02 08:49:11 +02:00
2026-09-05 18:49:27 +02:00
2026-05-21 20:48:41 +02:00