Skip to content

Commit

Permalink
Roll back celery version to hopefully isolate missing messages issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgdaily committed Nov 22, 2024
1 parent c8f13f6 commit e31fbe2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion banzai/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,9 @@ def start_stacking_scheduler():
schedule_calibration_stacking.s(site=site, runtime_context=vars(runtime_context)),
queue=runtime_context.CELERY_TASK_QUEUE_NAME)

app.Beat(schedule='/tmp/celerybeat-schedule', pidfile='/tmp/celerybeat.pid', working_directory='/tmp').run()
beat = celery.bin.beat.beat(app=app)
logger.info('Starting celery beat')
beat.run(schedule='/tmp/celerybeat-schedule', pidfile='/tmp/celerybeat.pid', working_directory='/tmp')

def run_realtime_pipeline():
extra_console_arguments = [{'args': ['--n-processes'],
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ install_requires =
pytest>=4.0
pyyaml
psycopg2-binary
celery[redis]>5,<6
celery[redis]>=4.3.1,<5
apscheduler
python-dateutil
ocs_ingester>=3.0.4,<4.0.0
Expand Down

0 comments on commit e31fbe2

Please sign in to comment.