Skip to content

could not obtain a database connection within 5.000 seconds #530

@almmaslim

Description

@almmaslim

I'm getting this error "could not obtain a database connection within 5.000 seconds" after installing octopus. Is there a possibility that there are some connections that are not disconnected properly or something?
here is my shards.yml, ENV["DB_POOL"] = 30


octopus:
  master_shard: group1
  default_migration_group: shards_group
  environments:
    - development
    - production
  development:
    shards_group:
      group1:
        database: group1
        adapter:  postgresql
        host: localhost
        pool: <%= ENV["DB_POOL"] %>
      group2:
        database: group2
        adapter: postgresql
        host: localhost
        pool: <%= ENV["DB_POOL"] %>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions