Skip to content

Commit

Permalink
Increase the limit on non prod servers
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Oct 21, 2024
1 parent 9602386 commit 44c3742
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cluster/network/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ resource "google_compute_security_policy_rule" "api-throttling-api-key" {
}

rate_limit_threshold {
count = 50
count = var.domain_name == "e2b.dev" ? 60 : 120
interval_sec = 30
}
}
Expand Down Expand Up @@ -529,7 +529,7 @@ resource "google_compute_security_policy_rule" "api-throttling-ip" {
}

rate_limit_threshold {
count = 2000
count = var.domain_name == "e2b.dev" ? 2000 : 4000
interval_sec = 60
}
}
Expand Down Expand Up @@ -589,7 +589,7 @@ resource "google_compute_security_policy_rule" "sandbox-throttling-ip" {
}

rate_limit_threshold {
count = 2000
count = var.domain_name == "e2b.dev" ? 2000 : 4000
interval_sec = 60
}
}
Expand Down

0 comments on commit 44c3742

Please sign in to comment.