File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
1010 "os"
1111 "sort"
1212 "strings"
13+ "time"
1314
1415 "github.com/transferia/transferia/library/go/core/metrics"
1516 "github.com/transferia/transferia/library/go/core/xerrors"
@@ -378,11 +379,11 @@ func (a *Storage) baseOpts() container.ContainerOpts {
378379 },
379380 Namespace : "" ,
380381 RestartPolicy : "Never" ,
381- PodName : "transferia- runner" ,
382+ PodName : "runner" ,
382383 Image : a .config .DockerImage (),
383384 LogDriver : "local" ,
384385 Network : "host" ,
385- ContainerName : "" ,
386+ ContainerName : "transferia-runner " ,
386387 Volumes : []container.Volume {
387388 {
388389 Name : "data" ,
@@ -391,9 +392,10 @@ func (a *Storage) baseOpts() container.ContainerOpts {
391392 VolumeType : "bind" ,
392393 },
393394 },
394- Command : nil ,
395- Args : nil ,
396- Timeout : 0 ,
395+ Command : nil ,
396+ Args : nil ,
397+ // FIXME: make this configurable
398+ Timeout : 12 * time .Hour ,
397399 AttachStdout : true ,
398400 AttachStderr : true ,
399401 AutoRemove : true ,
You can’t perform that action at this time.
0 commit comments