Enable in-database configuration for pool settings #3110
Labels
config
related to the configuration options
difficulty: hard
Haskell + PostgreSQL + knowledge of PostgREST codebase + unclear design
enhancement
a feature, ready for implementation
Problem
Currently the following settings have no in-db option:
So whenever they need to be updated the
postgrest.service
(if using systemd) has to be restarted. During this lapse Nginx (or other proxy) will give uninformative error messages likeAn invalid response was received from the upstream server
.Solution
Enable in-db options for the above configs. While there will be some downtime during the pool restart, we can give a better error message and include a
Retry-After
header.The text was updated successfully, but these errors were encountered: