Skip to content

Commit

Permalink
refactor: 필요없는 주석 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjy authored Mar 19, 2024
1 parent 0c4b398 commit 5bf4234
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
load_dotenv()
logger = logging.getLogger(__name__)

# RabbitMQ 설정
credentials = PlainCredentials(username=os.getenv('RABBITMQ_USERNAME'), password=os.getenv('RABBITMQ_PASSWORD'))
connection = BlockingConnection(ConnectionParameters(host=os.getenv('RABBITMQ_HOST'),
port=int(os.getenv('RABBITMQ_PORT')),
Expand Down Expand Up @@ -37,6 +36,5 @@ def callback(ch, method, properties, body):
logger.info("Error decoding JSON from the received data.")


# 메시지 소비 시작
channel.basic_consume(queue=os.getenv('SUMMARY_QUEUE'), on_message_callback=callback, auto_ack=True)
channel.start_consuming()

0 comments on commit 5bf4234

Please sign in to comment.