Skip to content

armgit / ente

Public Imported from GitHub
0

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

Increase server rollout percentages

Neeraj Gupta213e59b5e956
diff --git a/server/pkg/controller/email/storage_warning.go b/server/pkg/controller/email/storage_warning.go
index b9ae6006d5..dec13acd7a 100644
--- a/server/pkg/controller/email/storage_warning.go
+++ b/server/pkg/controller/email/storage_warning.go
@@ -29,7 +29,7 @@ const (
storageWarningPreviousStageFreshnessWindow = 35 * 24 * time.MicroSecondsInOneHour
storageWarningOneDayInMicroseconds = 24 * time.MicroSecondsInOneHour
storageWarningBufferedCadenceExtraGrace = 2 * storageWarningOneDayInMicroseconds
- storageWarningRolloutPercentage = 60
+ storageWarningRolloutPercentage = 70
storageWarningRolloutNonce = "storage-warning-v1"
storageWarningActiveOverageNotificationGroup = "storage_warning_active_overage"
diff --git a/server/pkg/controller/email/storage_warning_test.go b/server/pkg/controller/email/storage_warning_test.go
index 158d8e7fd7..5133937c6c 100644
--- a/server/pkg/controller/email/storage_warning_test.go
+++ b/server/pkg/controller/email/storage_warning_test.go
@@ -1061,7 +1061,7 @@ func TestBuildStorageWarningRunSummary(t *testing.T) {
stats.SkippedRolloutPct = 39
got := buildStorageWarningRunSummary(stats, 0)
- want := "Storage warning run summary (1970-01-01T00:00:00Z): processed=42 | sent=3 | success={expired_0d=1, active_overage_0d=2} | failures={active_overage_60d=1} | skipped_rollout={expired_30d=39} | pre_stage_failures=4 | skipped_rollout_percentage=39 | rollout_percentage=60"
+ want := "Storage warning run summary (1970-01-01T00:00:00Z): processed=42 | sent=3 | success={expired_0d=1, active_overage_0d=2} | failures={active_overage_60d=1} | skipped_rollout={expired_30d=39} | pre_stage_failures=4 | skipped_rollout_percentage=39 | rollout_percentage=70"
if got != want {
t.Fatalf("unexpected summary:\n got: %s\nwant: %s", got, want)
}
diff --git a/server/pkg/controller/user/inactive_user_orchestrator.go b/server/pkg/controller/user/inactive_user_orchestrator.go
index baa30da03c..cedcdbcf3b 100644
--- a/server/pkg/controller/user/inactive_user_orchestrator.go
+++ b/server/pkg/controller/user/inactive_user_orchestrator.go
@@ -63,7 +63,7 @@ const (
inactiveUserGap7dTo1d = 6 * inactiveUserOneDayInMicroSeconds
inactiveUserGap1dToFinal = inactiveUserOneDayInMicroSeconds
- inactiveUserRolloutPercentage = 80
+ inactiveUserRolloutPercentage = 90
inactiveUserRolloutNonce = "inactive-user-deletion-v1"
)