增加 command -> delayMillSecond 参数

This commit is contained in:
dengsgo
2019-01-02 16:14:40 +08:00
parent c1affe1109
commit 7cb0231a1d
3 changed files with 10 additions and 5 deletions

View File

@@ -129,7 +129,7 @@ func initWatcher() {
defer watcher.Close()
done := make(chan bool)
taskMan = newTaskMan(2000)
taskMan = newTaskMan(cfg.Command.DelayMillSecond)
go func() {
for {
select {