Commit graph

6 commits

Author SHA1 Message Date
Gavin M. Roy
3e36210c91 Add support for SRV based configuration
Supports both postgresql+srv and aws+srv where aws+srv supports the ECS service discovery Route53 SRV record lookup behavior.
2020-06-02 11:26:07 -04:00
Gavin M. Roy
86b6c022f0 Update DEFAULT_POSTGRES_MAX_POOL_SIZE
Even though ``0`` is documented as the max pool size in the aiopg docs, setting it to 0 causes an exception in `aiopg.pool.Pool._fill_free_pool`:

```
  File "/Users/gavinr/Source/PSE/anabroker/env/lib/python3.7/site-packages/aiopg/pool.py", line 208, in _fill_free_pool
    if override_min and self.size < self.maxsize:
TypeError: '<' not supported between instances of 'int' and 'NoneType'
```

Set to the same default as aiopg, @ 10.
2020-04-13 14:20:09 -04:00
Gavin M. Roy
3ba6c8c069 Remove the extra backtick 2020-04-10 16:42:29 -04:00
Gavin M. Roy
d7406ac1d3 docstring update for class linking 2020-04-10 16:34:39 -04:00
Gavin M. Roy
75b8d49bed Documentation updates 2020-04-08 18:22:24 -04:00
Gavin M. Roy
58d349e790 Add documentation 2020-04-08 18:15:50 -04:00