Skip to content

Commit 4d8bc3b

Browse files
committed
[wip] debug
1 parent 71b31ef commit 4d8bc3b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pkg/providers/airbyte/storage.go

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)