Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

int64 for thresholds

Mahmoudf66001f63dc7
diff --git a/server/pkg/controller/email/storage_warning.go b/server/pkg/controller/email/storage_warning.go
index 10ea9c3aba..e4eafc92f6 100644
--- a/server/pkg/controller/email/storage_warning.go
+++ b/server/pkg/controller/email/storage_warning.go
@@ -25,7 +25,7 @@ const (
storageWarningFromName = "Ente"
storageWarningFromEmail = "[email protected]"
- storageWarningOverageThreshold = 25 * (1 << 30)
+ storageWarningOverageThreshold = int64(25 * (1 << 30))
storageWarningPreviousStageFreshnessWindow = 35 * 24 * time.MicroSecondsInOneHour
storageWarningOneDayInMicroseconds = 24 * time.MicroSecondsInOneHour
storageWarningBufferedCadenceExtraGrace = 2 * storageWarningOneDayInMicroseconds