DB hangs with postgres and broken network link
Curtis Dutton <[email protected]> Fri, 3 Jul 2020 10:51:28 -0400
| Newsgroups | gmane.comp.lang.racket.user,gmane.lisp.scheme.plt |
|---|---|
| Message-ID | <CAPChLEqQgoSxFVp1p8uxWZW-kGrFWO6s7jHFur6fACDsfhgXqA@mail.gmail.com> |
I'm in the process of writing a simple daemon that periodically checks in
with a postgres database. I'm trying to make it resilient with network
outages.
If you connect to the database.
Unplug the network cable.
Run a query.
The query will hang for what appears to be forever without throwing an
exception.
Is this expected behavior?
Thanks,
Curtis
--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAPChLEqQgoSxFVp1p8uxWZW-kGrFWO6s7jHFur6fACDsfhgXqA%40mail.gmail.com.