Reduce command duration
This commit is contained in:
parent
5400b710f8
commit
e684fbba7d
2
app.go
2
app.go
@ -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 {
|
||||||
|
Reference in New Issue
Block a user