Skip to content
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

Зацикливание вызова connectionPool.get() #17

Closed
sywka opened this issue Jun 21, 2018 · 1 comment
Closed

Зацикливание вызова connectionPool.get() #17

sywka opened this issue Jun 21, 2018 · 1 comment
Assignees
Labels
gdmn-db Related to gdmn-db package invalid This doesn't seem right

Comments

@sywka
Copy link
Collaborator

sywka commented Jun 21, 2018

Если во время открытия соединения происходит ошибка, connection pool пытается открыть соединение сново и если ошибка не исчезает, то это приводит к зависанию.

Проблема в библиотеке для организации connection pool, т.к. в ней нет ограничения на количество попыток. См.

@sywka sywka self-assigned this Jun 25, 2018
@gsbelarus gsbelarus transferred this issue from another repository Nov 1, 2018
@sywka sywka added invalid This doesn't seem right gdmn-db Related to gdmn-db package labels Nov 1, 2018
@sywka
Copy link
Collaborator Author

sywka commented Feb 7, 2019

Решается прописыванием тайм-аута на получении соединения

@sywka sywka closed this as completed Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gdmn-db Related to gdmn-db package invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant