fix: file blocked by reporter
continuous-integration/drone/tag Build is passing Details

master v0.1.12
Evan Chen 2021-11-18 01:51:18 +08:00
parent 5634bf108f
commit dcc140b722
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func (cui *ConfigUI) Apply(w http.ResponseWriter, r *http.Request) {
ksrv.Response(w, 404, []byte("file not found"))
return
}
result, err := file.Do(cui.cmdTimeout, make(chan int))
result, err := file.Do(cui.cmdTimeout, make(chan int, 1))
if err != nil {
panic(err)
}