Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roll back celery version to hopefully isolate missing messages issue. #401

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading