mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 09:06:06 +00:00
- Use atomic SET NX EX instead of separate SETNX + EXPIRE to prevent zombie locks if the process crashes between the two calls - Replace time.sleep() with gevent.sleep() in get_instance() spin-wait to avoid blocking the greenlet hub - Defer cleanup when ownership is lost but clients are still connected, giving the new owner time to establish its stream before we tear down Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| services | ||
| __init__.py | ||
| apps.py | ||
| channel_status.py | ||
| client_manager.py | ||
| config_helper.py | ||
| constants.py | ||
| http_streamer.py | ||
| redis_keys.py | ||
| server.py | ||
| stream_buffer.py | ||
| stream_generator.py | ||
| stream_manager.py | ||
| url_utils.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||