增加发布者超时检测,允许覆盖

This commit is contained in:
langhuihui
2020-08-13 22:01:59 +08:00
parent a0c8ff5db0
commit 9f59368831
4 changed files with 85 additions and 81 deletions

View File

@@ -19,7 +19,8 @@ var (
config = &struct {
EnableWaitStream bool
RingSize int
}{true, 10}
PublishTimeout time.Duration
}{true, 10, time.Minute}
// ConfigRaw 配置信息的原始数据
ConfigRaw []byte
// Version 引擎版本号