提高 推流重试次数
This commit is contained in:
parent
aa327ace86
commit
d9376eebf7
@ -126,7 +126,7 @@ public class DeviceProxyService {
|
|||||||
// 重试间隔
|
// 重试间隔
|
||||||
.withWaitStrategy(WaitStrategies.fixedWait(1, TimeUnit.MILLISECONDS))
|
.withWaitStrategy(WaitStrategies.fixedWait(1, TimeUnit.MILLISECONDS))
|
||||||
// 重试次数
|
// 重试次数
|
||||||
.withStopStrategy(StopStrategies.stopAfterAttempt(10 * 1000))
|
.withStopStrategy(StopStrategies.stopAfterAttempt(5 * 1000))
|
||||||
.build();
|
.build();
|
||||||
zlmPublishHookService.getHandler(DEFAULT_ZLM_APP).put(callId,()->{
|
zlmPublishHookService.getHandler(DEFAULT_ZLM_APP).put(callId,()->{
|
||||||
scheduledExecutorService.submit(()->{
|
scheduledExecutorService.submit(()->{
|
||||||
|
Loading…
Reference in New Issue
Block a user