Skip to content

No longer works with new relx releases.  #24

@jordanchaitin

Description

@jordanchaitin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions