How long can kong keep_alive if postgres lost connection

version: 0.14.1
postgres: 9.6

if PG lost connection(down), how long can kong keep alive ?