Reduce command duration

This commit is contained in:
nemunaire 2021-05-02 22:55:54 +02:00
parent 5400b710f8
commit e684fbba7d

2
app.go
View File

@ -58,7 +58,7 @@ func NewApp(cfg *config.Config) App {
ctrid, err := docker.Run( ctrid, err := docker.Run(
"alpine", "alpine",
[]string{"sh", "-c", "touch /data/work_done; for i in `seq 20`; do echo $i; sleep 0.5; done"}, []string{"sh", "-c", "touch /data/work_done; for i in `seq 10`; do echo $i; sleep 0.5; done"},
[]mount.Mount{*myVolume}, []mount.Mount{*myVolume},
) )
if err != nil { if err != nil {