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

Investigate local slow Ecto connection #72

Closed
achiurizo opened this issue Jun 18, 2020 · 1 comment · Fixed by #116
Closed

Investigate local slow Ecto connection #72

achiurizo opened this issue Jun 18, 2020 · 1 comment · Fixed by #116
Assignees
Labels
Childchain Related to the Childchain testing testing the description that this is a test

Comments

@achiurizo
Copy link
Contributor

Have not seen this on CI yet but locally:

1) test changeset/2 encodes the output_id (Engine.DB.OutputTest)
    apps/engine/test/engine/db/output_test.exs:25
    ** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 162ms. This means requests are coming in and your connection pool cannot serve them fast enough. You can address this by:
....
      1. By tracking down slow queries and making sure they are running fast enough
      2. Increasing the pool_size (albeit it increases resource consumption)
      3. Allow requests to wait longer by increasing :queue_target and :queue_interval
....
    See DBConnection.start_link/2 for more information

Originally posted by @achiurizo in #69

Need to check out what the issue is, and if we can remove these configurations.

@achiurizo achiurizo added Childchain Related to the Childchain testing testing the description that this is a test labels Jun 18, 2020
@InoMurko
Copy link
Contributor

We should do this: omgnetwork/elixir-omg#1689

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Childchain Related to the Childchain testing testing the description that this is a test
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants