File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -436,9 +436,7 @@ async def _recover_consumers() -> None:
436436 )
437437 # Don't close temp_connection since we're using it as active_connection
438438 else :
439- logger .info (
440- "📭 No messages in any queue, connection remains closed"
441- )
439+ logger .info ("📭 No messages in any queue, connection remains closed" )
442440 # Close the temporary connection
443441 await temp_channel .close ()
444442 await temp_connection .close ()
Original file line number Diff line number Diff line change @@ -403,9 +403,7 @@ async def _recover_consumers() -> None:
403403 # Start consumers for queues with messages
404404 for data_type , msg_count in queues_with_messages :
405405 if data_type in queues and data_type not in consumer_tags :
406- consumer_tag = await queues [data_type ].consume (
407- on_data_message
408- )
406+ consumer_tag = await queues [data_type ].consume (on_data_message )
409407 consumer_tags [data_type ] = consumer_tag
410408 # Remove from completed files so it will be processed
411409 completed_files .discard (data_type )
@@ -422,9 +420,7 @@ async def _recover_consumers() -> None:
422420 )
423421 # Don't close temp_connection since we're using it as active_connection
424422 else :
425- logger .info (
426- "📭 No messages in any queue, connection remains closed"
427- )
423+ logger .info ("📭 No messages in any queue, connection remains closed" )
428424 # Close the temporary connection
429425 await temp_channel .close ()
430426 await temp_connection .close ()
You can’t perform that action at this time.
0 commit comments