You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was a bit misguided... but I think an action item could be pointing out there may be asynchronous exception issues you should worry about while using odd-jobs.
This might sound kind of silly, but without it ResourceT based connection pools put the connection back too early.
In the real world this translates to:
If you use Persistent and postgresql with odd-jobs with a connection pool you get "libpq: failed another command already in progress" errors.
We had this issue in production and it debugging it led me to:
snoyberg/conduit#425
A more concise example you can play with yourself is at https://gist.github.com/codygman/d38a049092301ade8e8e1bb362cac778#file-main-hs-L23
I also created an issue on Persistent but I'm starting to think Persistent might not be able to fix this if it requires wrapping calls with Async:
yesodweb/persistent#1199
The text was updated successfully, but these errors were encountered: