Skip to content

Commit

Permalink
debugging - 4
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Dec 1, 2024
1 parent 03040da commit 89b8d1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions listenbrainz_spark/request_consumer/request_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
from kombu.mixins import ConsumerProducerMixin
from kombu.utils.debug import setup_logging

import listenbrainz_spark
# import listenbrainz_spark
import listenbrainz_spark.query_map
from listenbrainz_spark import config, hdfs_connection
from listenbrainz_spark import config


RABBITMQ_HEARTBEAT_TIME = 2 * 60 * 60 # 2 hours -- a full dump import takes 40 minutes right now
Expand Down Expand Up @@ -135,7 +135,7 @@ def start(self, app_name):
while True:
try:
logger.info('Request consumer started!')
listenbrainz_spark.init_spark_session(app_name)
# listenbrainz_spark.init_spark_session(app_name)
logger.info('Request consumer, spark session inited!')
self.init_rabbitmq_connection()
logger.info('Request consumer, rabbitmq connected!')
Expand Down

0 comments on commit 89b8d1c

Please sign in to comment.