rtp2httpd icon indicating copy to clipboard operation
rtp2httpd copied to clipboard

工作进程数>1时,每个进程都会去独立请求m3u和epg数据

Open wpf382301 opened this issue 8 months ago • 2 comments

我配置的工作进程数为4,会重复请求4次m3u和epg数据,每个进程的请求时机好像时跟各自的启动时间相关? 以下是截取的m3u服务的日志:

2026-03-12 07:04:38 [debug]: 来自 172.17.0.1 的获取M3U文件内容请求 2026-03-12 07:04:38 [debug]: Channel文件已存在, 非强制更新模式, 直接读取channel信息: /iptv-output/channel/channel.json 2026-03-12 07:04:38 [debug]: ->获取到的channel数量: 177 2026-03-12 07:04:38 [debug]: 来自 172.17.0.1 的获取EPG文件内容请求 2026-03-12 07:04:46 [debug]: 来自 172.17.0.1 的获取M3U文件内容请求 2026-03-12 07:04:46 [debug]: Channel文件已存在, 非强制更新模式, 直接读取channel信息: /iptv-output/channel/channel.json 2026-03-12 07:04:46 [debug]: ->获取到的channel数量: 177 2026-03-12 07:04:46 [debug]: 来自 172.17.0.1 的获取EPG文件内容请求 2026-03-12 07:04:54 [debug]: 来自 172.17.0.1 的获取M3U文件内容请求 2026-03-12 07:04:54 [debug]: Channel文件已存在, 非强制更新模式, 直接读取channel信息: /iptv-output/channel/channel.json 2026-03-12 07:04:54 [debug]: ->获取到的channel数量: 177 2026-03-12 07:04:54 [debug]: 来自 172.17.0.1 的获取EPG文件内容请求 2026-03-12 07:05:02 [debug]: 来自 172.17.0.1 的获取M3U文件内容请求 2026-03-12 07:05:02 [debug]: Channel文件已存在, 非强制更新模式, 直接读取channel信息: /iptv-output/channel/channel.json 2026-03-12 07:05:02 [debug]: ->获取到的channel数量: 177 2026-03-12 07:05:02 [debug]: 来自 172.17.0.1 的获取EPG文件内容请求

wpf382301 avatar Mar 12 '26 00:03 wpf382301

是这样设计的。每个进程独立工作保证稳定性

stackia avatar Mar 12 '26 00:03 stackia

是这样设计的。每个进程独立工作保证稳定

好的,还以为是bug

wpf382301 avatar Mar 12 '26 00:03 wpf382301