Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update main.go to fix scale to zero functionality (#225)
Currently we're checking if the number of connections is greater-or-equal to 1. However the ConnectionCount query that runs doesn't exclude itself from the result set, so it always returns at least one. The >= 1 check was added here: #200. This PR reverts back to the previous `>1 ` check.
- Loading branch information