11/19/2021, 6:34 PM
Hey, I'm
and just want to make sure that the SpiceDB devs ( @User @User ) are aware of it... While I read through your watch crdb code and the crdb docs
It is therefore critical that you close the connection, otherwise the application will be blocked forever on Rows.Close().
- Since you use a pgx.Pool underneath, are you sure that the connection gets closed after the context to Watch stops watching, and that the pg connect is not just released back into the pool leaving the connection in an unusable state for new normal SQL queries?