Skip to content

Commit 0e75b1f

Browse files
author
Dov Alperin
committed
Bump scale to zero check
1 parent abfcf97 commit 0e75b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/start/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func scaleToZeroWorker(ctx context.Context, node *flypg.Node) error {
123123
continue
124124
}
125125
fmt.Printf("Current connection count is %d\n", current)
126-
if current > 1 {
126+
if current >= 1 {
127127
continue
128128
}
129129
return fmt.Errorf("scale to zero condition hit")

0 commit comments

Comments
 (0)