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 {
268
268
let mut close_event = ( !self . ignore_close_event ) . then ( || self . pool . close_event ( ) ) ;
269
269
270
270
loop {
271
- let next_message = self . connection ( ) . await ?. inner . stream . recv_unchecked ( ) ;
271
+ let next_message = dbg ! ( self . connection( ) . await ) ?. inner . stream . recv_unchecked ( ) ;
272
272
273
273
let res = if let Some ( ref mut close_event) = close_event {
274
274
// cancels the wait and returns `Err(PoolClosed)` if the pool is closed
275
275
// 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 ) ?
277
277
} else {
278
278
next_message. await
279
279
} ;
@@ -292,7 +292,7 @@ impl PgListener {
292
292
}
293
293
294
294
if self . eager_reconnect {
295
- self . connect_if_needed ( ) . await ?;
295
+ dbg ! ( self . connect_if_needed( ) . await ) ?;
296
296
}
297
297
298
298
// lost connection
@@ -313,7 +313,7 @@ impl PgListener {
313
313
314
314
// Mark the connection as ready for another query
315
315
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 ;
317
317
}
318
318
319
319
// Ignore unexpected messages
You can’t perform that action at this time.
0 commit comments