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

No longer works with new relx releases. #24

Open
jordanchaitin opened this issue May 31, 2018 · 3 comments
Open

No longer works with new relx releases. #24

jordanchaitin opened this issue May 31, 2018 · 3 comments

Comments

@jordanchaitin
Copy link

jordanchaitin commented May 31, 2018

This no longer works while using the new relx version (3.24.5). Checking in Observer, it doesn't seem to start a pool.

On trying to run a query, it crashes with an error message like below:

pp_db:query("select 1").
** exception error: timeout
      in function  gproc:await/2
         called as gproc:await({n,l,{epna_pool,primary}},10000)
      in call from timer:tc/3 (timer.erl, line 197)
      in call from epna_pool:get_connection/2 (src/epna_pool.erl, line 86)
      in call from pp_db:get_connection/1 (src/pp_db.erl, line 16)
      in call from pp_db:query/1 (src/pp_db.erl, line 38) 

By simply changing the relx used to an older version (e.g. 3.23.0) things run smoothly again.

In case someone wants to check, here's a testing git
https://github.com/jordanchaitin/relx_test

@tsloughter
Copy link
Member

Sorry I never took a look at this. Is it still an issue? In rebar 3.14.1 the relx is 4.0.0 which is a near rewrite.

@jordanchaitin
Copy link
Author

Sorry I never took a look at this. Is it still an issue? In rebar 3.14.1 the relx is 4.0.0 which is a near rewrite.

Hi Tristan, I am right now quite busy on a different (non-Erlang) project. I will check this later and update.

@tsloughter
Copy link
Member

No worries, its been over 2 years :). Was just looking at this repo and would clean up/close issues if possible.

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

2 participants