View Source EdgeDB.Pool (EdgeDB v0.4.0)

A wrapper around DBConnection.ConnectionPool to support dynamic resizing of the connection pool.

WARNING

Consider this module as experimental. You can try to use it in your applications, but some errors may occur.

How to use:

Edit your config/config.exs file by adding the following setting to the :edgedb configuration:

config :edgedb,
  pool: EdgeDB.Pool

After that EdgeDB driver will start a custom pool that will support dynamic resizing via suggested_pool_concurrency from the ParameterStatus message from EdgeDB.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.