Skip to content

Commit 01e2f5f

Browse files
author
Aaron Schlesinger
committed
fix(pkg/gitreceive/build.go): add log message for polling
1 parent 38399b5 commit 01e2f5f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/gitreceive/build.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ func build(conf *Config, s3Client *storage.Client, kubeClient *client.Client, fs
209209
}
210210
}
211211

212+
log.Debug("Polling the S3 server every %d for %d for the resultant slug", conf.ObjectStorageTickDuration(), conf.ObjectStorageWaitDuration())
212213
// poll the s3 server to ensure the slug exists
213214
err = wait.PollImmediate(conf.ObjectStorageTickDuration(), conf.ObjectStorageWaitDuration(), func() (bool, error) {
214215
exists, err := storage.ObjectExists(s3Client, conf.Bucket, slugBuilderInfo.PushKey())

0 commit comments

Comments
 (0)