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

fix for no match of right hand side value undefined default #7

Open
221V opened this issue Dec 26, 2024 · 0 comments
Open

fix for no match of right hand side value undefined default #7

221V opened this issue Dec 26, 2024 · 0 comments

Comments

@221V
Copy link

221V commented Dec 26, 2024

hello :)

there are next description in readme:

pooler_max_queue -- pool queue length. It there are more clients waiting for worker from pool then epgsql_pool:query returns {error, pool_overload}. 100 clients by default.

{ok, MaxQueue} = application:get_env(epgsql_pool, pooler_max_queue),

and we can see this line in code

I have no idea why I got error here yesterday --
with the same configs that I got no errors for years before with the same deps..

no match of right hand side value undefined

but I fix this error by editing this line of code:

- {ok, MaxQueue} = application:get_env(epgsql_pool, pooler_max_queue),
+ MaxQueue = application:get_env(epgsql_pool, pooler_max_queue, 100),

just FYI

thank you for your contribution to open source :)
happy holidays to you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant