File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -268,12 +268,12 @@ impl PgListener {
268268 let mut close_event = ( !self . ignore_close_event ) . then ( || self . pool . close_event ( ) ) ;
269269
270270 loop {
271- let next_message = self . connection ( ) . await ?. inner . stream . recv_unchecked ( ) ;
271+ let next_message = dbg ! ( self . connection( ) . await ) ?. inner . stream . recv_unchecked ( ) ;
272272
273273 let res = if let Some ( ref mut close_event) = close_event {
274274 // cancels the wait and returns `Err(PoolClosed)` if the pool is closed
275275 // before `next_message` returns, or if the pool was already closed
276- close_event. do_until ( next_message) . await ?
276+ dbg ! ( close_event. do_until( next_message) . await ) ?
277277 } else {
278278 next_message. await
279279 } ;
@@ -292,7 +292,7 @@ impl PgListener {
292292 }
293293
294294 if self . eager_reconnect {
295- self . connect_if_needed ( ) . await ?;
295+ dbg ! ( self . connect_if_needed( ) . await ) ?;
296296 }
297297
298298 // lost connection
@@ -313,7 +313,7 @@ impl PgListener {
313313
314314 // Mark the connection as ready for another query
315315 BackendMessageFormat :: ReadyForQuery => {
316- self . connection ( ) . await ?. inner . pending_ready_for_query_count -= 1 ;
316+ dbg ! ( self . connection( ) . await ) ?. inner . pending_ready_for_query_count -= 1 ;
317317 }
318318
319319 // Ignore unexpected messages
You can’t perform that action at this time.
0 commit comments