π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add dc in the log ctx
Neeraj Guptafd504612145e
diff --git a/server/pkg/controller/embedding/controller.go b/server/pkg/controller/embedding/controller.goindex d4275d102f..200fafc11f 100644--- a/server/pkg/controller/embedding/controller.go+++ b/server/pkg/controller/embedding/controller.go@@ -42,7 +42,7 @@ type _fetchConfig struct {MaxTimeout gTime.Duration}-var _defaultFetchConfig = _fetchConfig{RetryCount: 3, InitialTimeout: 5 * gTime.Second, MaxTimeout: 30 * gTime.Second}+var _defaultFetchConfig = _fetchConfig{RetryCount: 3, InitialTimeout: 10 * gTime.Second, MaxTimeout: 30 * gTime.Second}var _b2FetchConfig = _fetchConfig{RetryCount: 3, InitialTimeout: 15 * gTime.Second, MaxTimeout: 30 * gTime.Second}type Controller struct {@@ -338,7 +338,7 @@ func (c *Controller) getEmbeddingObject(ctx context.Context, objectKey string, dif dc == c.S3Config.GetHotBackblazeDC() {opt = _b2FetchConfig}- ctxLogger := log.WithField("objectKey", objectKey)+ ctxLogger := log.WithField("objectKey", objectKey).WithField("dc", dc)totalAttempts := opt.RetryCount + 1timeout := opt.InitialTimeoutfor i := 0; i < totalAttempts; i++ {