-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat[sgroups]: impl rpc for status stream #2
Conversation
Привет! |
This reverts commit 5a92a34.
_ = pgconn.SafeToRetry | ||
_ = pgconn.Timeout | ||
_ = err | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Разобраться с логикой ошибок
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Сделал обработку ошибок
puddle.ErrNotAvailable
не может произойти в нашем коде, так как возвращается методомTryAcquire
и этот метод не используется в pgxpool- в случае ошибок проходящих проверку
pgconn.Timeout
не делаю задержку, так как сама ошибка произошла в случае истечения таймаута и можно повторить попытку
PR was merged into SWARM-47 |
No description provided.