leafo / lapis

A web framework for Lua and OpenResty written in MoonScript
http://leafo.net/lapis/
MIT License
3.12k stars 247 forks source link

Add "timeout" config option for Postgres #679

Closed turbo closed 5 years ago

turbo commented 5 years ago

If present, this will apply the timeout field in a Lapis postgres config block to the socket opened by pgmoon. This will technically also pass the same field to the constructor here, but it's ignored there.

turbo commented 5 years ago

See also https://github.com/leafo/pgmoon/issues/88