Skip to content

Commit bd70417

Browse files
author
Aaron Schlesinger
committed
fix(config.go): increase builder pod wait duration
Set it to 15 minutes, which is the same as the Heroku default. See https://devcenter.heroku.com/articles/slug-compiler
1 parent 7330a6d commit bd70417

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type Config struct {
2727
StorageRegion string `envconfig:"STORAGE_REGION" default:"us-east-1"`
2828
Debug bool `envconfig:"DEBUG" default:"false"`
2929
BuilderPodTickDurationMSec int `envconfig:"BUILDER_POD_TICK_DURATION" default:"100"`
30-
BuilderPodWaitDurationMSec int `envconfig:"BUILDER_POD_WAIT_DURATION" default:"300000"` // 5 minutes
30+
BuilderPodWaitDurationMSec int `envconfig:"BUILDER_POD_WAIT_DURATION" default:"900000"` // 15 minutes
3131
ObjectStorageTickDurationMSec int `envconfing:"OBJECT_STORAGE_TICK_DURATION" default:"500"`
3232
ObjectStorageWaitDurationMSec int `envconfig:"OBJECT_STORAGE_WAIT_DURATION" default:"300000"` // 5 minutes
3333
Bucket string `envconfig:"BUCKET" default:"git"`

0 commit comments

Comments
 (0)