8 Commits

Author SHA1 Message Date
mhdzumair 1483336adc Refactor Redis client imports and configuration
Moved Redis client setup to a new module `redis_database` and updated all references across the codebase. Also added a new configuration setting for redis_max_connections for better resource management.
2024-11-28 16:08:34 +05:30
Mohamed Zumair 649de9e503 Update Python version & refactror Redis client usage and streaming provider route endpoints (#277)
* Update Python version

* Refactor Redis client

* Refactor streaming routes endpoint functions
2024-09-05 06:46:07 +05:30
mhdzumair b1ef762b32 Refactor & bugfixes 2024-04-27 17:12:48 +05:30
mhdzumair 6d54702232 implement distributed scheduler locking with heartbeat for cluster 2024-04-25 07:15:18 +05:30
mhdzumair 11e2360a7a add locking on initial request to avoid running multiple download task & caching provider streaming URLs for an hour 2024-04-24 09:37:08 +05:30
mhdzumair 1151e0628c Refactor scheduler locking to handle server process termination 2024-04-13 22:03:01 +05:30
mhdzumair ace70a5c67 use temp dir for lock file 2024-04-05 05:50:51 +05:30
mhdzumair 3b3641cea0 Add lock functionality start only one scheduler 2024-04-04 22:38:43 +05:30