Fix timer usage

This commit is contained in:
世界
2024-04-02 23:07:26 +08:00
parent 7e736818f0
commit 2dcc6fff6d
8 changed files with 28 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ import (
)
func (s *Box) startOutbounds() error {
monitor := taskmonitor.New(s.logger, C.DefaultStartTimeout)
monitor := taskmonitor.New(s.logger, C.StartTimeout)
outboundTags := make(map[adapter.Outbound]string)
outbounds := make(map[string]adapter.Outbound)
for i, outboundToStart := range s.outbounds {