Commit Graph
1761 Commits
Author SHA1 Message Date
euzu dd4f3beb56 Epg resource rewrite 2025-11-21 12:28:56 +01:00
euzuandGitHub 21807dd95b Merge pull request #448 from euzu/feature/sync_bridge_fix
SyncIOBridge caused tokio panic
2025-11-21 01:58:06 +01:00
euzu e25aa980ee SyncIOBridge caused tokio panic 2025-11-21 01:57:38 +01:00
euzu e2709956f8 SyncIOBridge caused tokio panic 2025-11-21 01:53:45 +01:00
euzu 98dc80dd75 SyncIOBridge caused tokio panic 2025-11-21 01:35:04 +01:00
euzuandGitHub 24880101df Merge pull request #447 from euzu/feature/shared_connection_count_fix
Feature/shared connection count fix
2025-11-20 15:55:42 +01:00
euzu afc6881454 fixedFixed active shared stream provider connections 2025-11-20 15:55:34 +01:00
euzu cf43c6a784 Fixed active shared stream provider connections 2025-11-20 15:50:46 +01:00
euzu 39c678032a Fixed active shared stream provider connections 2025-11-20 15:35:07 +01:00
euzu 0fd4c69fca Merge remote-tracking branch 'deadc1de/debug/shared-stream-connection-increment' into feature/shared_connection_count_fix 2025-11-20 14:52:42 +01:00
euzu d86d599998 Merge remote-tracking branch 'deadc1de/debug/shared-stream-connection-increment' into feature/shared_connection_count_fix 2025-11-20 14:52:35 +01:00
euzuandGitHub 05a3d3f8af Merge pull request #446 from euzu/feature/connection_logging_and_non_order_and_session_connection_token_and_sync_files
- !BREAKING CHANGE!  `config.yml` `threads` attribute is now renamed to `process_parallel` and is a boolean value true or false.
- API user DB persistence (merge/backup/store) now executes through async Tokio I/O so user-management APIs stay responsive without extra blocking hops.
- JSON playlist/category writers (xtream collections, user bouquets) now stream through Tokio I/O so persisting those files no longer blocks the runtime.
- Playlist EPG exports now write via async file handles to avoid blocking the runtime during XML serialization.
- Config and API proxy save endpoints now serialize via Tokio I/O, so editing configs through the API no longer blocks the runtime threads.
- Playlist updates now use Tokio tasks instead of spinning up per-source threads/runtimes, reducing CPU and memory overhead during large syncs.
- XMLTV timeshift responses stream asynchronously end-to-end to keep the Axum runtime responsive.
- `main` now uses `#[tokio::main]`, removing the manual runtime boilerplate and keeping every branch async end-to-end.
- Healthcheck CLI path now uses the async reqwest client so startup checks no longer block a dedicated thread.
- Shared stream shutdown now drops registry locks before releasing provider handles to prevent cross-lock stalls.
- Added `order: none` support for group/channel sorting so mappings can opt out of any reordering and keep the source order.
- Session tracking now matches repeated HLS segment connections by session token so a single user keeps one active connection count even when new TCP sockets are opened.
2025-11-20 14:23:19 +01:00
euzu 020f52c5d2 fixed some async file operations 2025-11-20 14:22:26 +01:00
euzu 3d36cc0617 fixed some async file operations 2025-11-20 13:54:34 +01:00
euzu a14253519e fixed some async file operations 2025-11-20 13:40:04 +01:00
euzu e6338b69a2 Added braking change info
fixed a notification message, added input name
2025-11-20 13:08:37 +01:00
euzu d2779a3e30 Some fixes for async handling 2025-11-20 13:00:01 +01:00
euzu e50c364916 development version increase 2025-11-20 10:50:00 +01:00
euzu b7ccea7fe9 Merge remote-tracking branch 'dark-breakpoint/feature/session-connection-token' into feature/connection_logging_and_non_order 2025-11-20 10:49:21 +01:00
euzu 8ca88a4711 Merge remote-tracking branch 'dark-breakpoint/feature/async-cleanup' into feature/connection_logging_and_non_order_and_session_connection_token 2025-11-20 10:34:46 +01:00
euzu d63270edd9 Merge remote-tracking branch 'dark-breakpoint/feature/async-cleanup' into feature/connection_logging_and_non_order_and_session_connection_token 2025-11-20 10:34:41 +01:00
euzu 00df136c64 Merge remote-tracking branch 'dark-breakpoint/feature/session-connection-token' into feature/connection_logging_and_non_order 2025-11-20 08:50:10 +01:00
euzu 5db883caf2 Merge remote-tracking branch 'dark-breakpoint/feature/session-connection-token' into feature/connection_logging_and_non_order 2025-11-20 08:50:05 +01:00
euzu 554c062661 Merge remote-tracking branch 'dark-breakpoint/feature/none-sort-order-develop' into feature/connection_logging_and_non_order 2025-11-20 08:32:42 +01:00
euzu 48f792ff12 Merge remote-tracking branch 'dark-breakpoint/feature/none-sort-order-develop' into feature/connection_logging_and_non_order 2025-11-20 08:32:36 +01:00
euzu b4260a8e8b Merge remote-tracking branch 'dark-breakpoint/feature/improved-connection-logging' into feature/connection_logging 2025-11-20 08:22:11 +01:00
euzu c5fd6ed683 Merge remote-tracking branch 'dark-breakpoint/feature/improved-connection-logging' into feature/connection_logging 2025-11-20 08:22:05 +01:00
DarkBreakpoint 7d3c2fd8be Improve session tracking 2025-11-19 23:00:25 -06:00
DarkBreakpoint 88e92cd4a4 Add order: none handling to playlist sorting 2025-11-19 22:12:53 -06:00
DarkBreakpoint 34a6246cbc async API user 2025-11-19 15:35:34 -06:00
DarkBreakpoint 0876ebc43b async Config 2025-11-19 15:13:33 -06:00
DarkBreakpoint 000df50b76 EPG export async 2025-11-19 15:07:30 -06:00
DarkBreakpoint 8f6c49c73f Async Json writer 2025-11-19 14:59:52 -06:00
DarkBreakpoint 3715bb0d90 Video download async cleanup 2025-11-19 14:41:57 -06:00
DarkBreakpoint ecd8e5657f async cleanup 2025-11-19 14:13:54 -06:00
DarkBreakpoint 44b8610692 Add diagnostics when a single user accumulates many connections so runaway clients are easy to spot. 2025-11-19 10:00:32 -06:00
euzuandGitHub c3a41f6877 Merge pull request #440 from euzu/feature/shared_stream_diagnostic_and_stream_lock_release_and_handle_conn_update_failure
Feature/shared stream diagnostic and stream lock release and handle conn update failure
2025-11-18 22:58:50 +01:00
euzu d31021b615 - Added detailed shared-stream/buffer/provider logging to trace lag, cache persistence, and session/provider lifecycle events.
- Connection registration failures now trigger an explicit disconnect so zombie sockets don’t linger.
- Shared stream shutdown now drops registry locks before releasing provider handles to prevent cross-lock stalls.
2025-11-18 22:58:30 +01:00
euzu 17e85fcfa4 - Added detailed shared-stream/buffer/provider logging to trace lag, cache persistence, and session/provider lifecycle events.
- Connection registration failures now trigger an explicit disconnect so zombie sockets don’t linger.
- Shared stream shutdown now drops registry locks before releasing provider handles to prevent cross-lock stalls.
2025-11-18 21:52:09 +01:00
euzu 75f5a17461 Merge remote-tracking branch 'darkbreakpoint/release-provider-outside-lock' into feature/shared_stream_diagnostic 2025-11-18 21:18:28 +01:00
euzu 0f05b5665d dangling connection remove 2025-11-18 21:16:43 +01:00
euzu 49f180123b More log output 2025-11-18 21:01:42 +01:00
euzu fbf08601c7 Merge remote-tracking branch 'darkbreakpoint/warn-shared-stream-lag' into feature/shared_stream_diagnostic 2025-11-18 21:01:10 +01:00
DEADC1DEandroot 06104dc8c1 Fix shared stream connection counting
Shared streams should not increment user connection count as they
represent a single provider connection shared by multiple clients.

Changes:
- update_connection: Only increment counter for non-shared streams
- release_connection: Only decrement counter for non-shared streams
2025-11-18 14:08:48 +01:00
DarkBreakpoint a59174a7d7 Avoid holding stream lock while releasing providers 2025-11-17 09:31:49 -06:00
DarkBreakpoint e81f839853 Add shared streaming diagnostics 2025-11-17 08:57:29 -06:00
DEADC0DEandroot 4dae6dae72 Fix provider connection exhaustion when zapping channels 2025-11-17 12:50:48 +01:00
euzuandGitHub e5c6ca9e8d Merge pull request #436 from euzu/feature/async_persist_cache_pipe_and_m3u_write_and_shared_buffer_zero_copy
Feature/async persist cache pipe and m3u write and shared buffer zero copy
2025-11-14 23:39:36 +01:00
euzu 9825cd24cf m3u repository save aync playlist file 2025-11-14 23:39:26 +01:00
euzu f6adf3c498 m3u repository save aync playlist file 2025-11-14 23:28:10 +01:00