Postgres blocks new connection when it was marked as DeletedConnection in workers (eg CleanupTempFiles).
it is caused by #219
{"code":"connection_write_error","error":"connection_write_error: ERROR: duplicate key value violates unique constraint \"allocation_connections_pkey\" (SQLSTATE 23505)"
|
if errors.Is(err, gorm.ErrRecordNotFound) { |