denodrivers / postgres

PostgreSQL driver for Deno

Home Page:https://denodrivers.github.io/postgres

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add reconnection millisecond interval option

Soremwar opened this issue · comments

Add an interval parameter in the connection options to indicate how often should the client connect

Optionally, make the parameter be a function that returns a number (useful to increase intervals between attempts)

Yeah - exponential backoff would be fantastic.