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
8aee0fec5e Fix README badges 2020-04-10 16:31:21 -04:00
Gavin M. Roy
58d349e790 Add documentation 2020-04-08 18:15:50 -04:00
Gavin M. Roy
137c32c6e5 README updates 2020-04-06 17:41:19 -04:00
Gavin M. Roy
46f829fc4a Initial WIP commit 2020-04-06 17:39:52 -04:00