Skip to content

Commit

Permalink
Bump scale to zero check
Browse files Browse the repository at this point in the history
  • Loading branch information
DAlperin committed May 15, 2023
1 parent abfcf97 commit 0e75b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/start/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func scaleToZeroWorker(ctx context.Context, node *flypg.Node) error {
continue
}
fmt.Printf("Current connection count is %d\n", current)
if current > 1 {
if current >= 1 {
continue
}
return fmt.Errorf("scale to zero condition hit")
Expand Down

0 comments on commit 0e75b1f

Please sign in to comment.