Skip to content

Commit

Permalink
add preprocess upload task to celery task router
Browse files Browse the repository at this point in the history
  • Loading branch information
dana-yaish committed Sep 29, 2023
1 parent c447740 commit b4a285f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions celery_task_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def _get_user_plan_from_task(dbsession, task_name: str, task_kwargs: dict) -> st
# from org_ownerid
shared_celery_config.new_user_activated_task_name: _get_user_plan_from_org_ownerid,
# from repoid
shared_celery_config.pre_process_upload_task_name: _get_user_plan_from_repoid,
shared_celery_config.upload_task_name: _get_user_plan_from_repoid,
shared_celery_config.upload_processor_task_name: _get_user_plan_from_repoid,
shared_celery_config.notify_task_name: _get_user_plan_from_repoid,
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
https://github.com/codecov/shared/archive/15a7041cbaca7ca6ed8475f9bc1c94b3e0ecbed0.tar.gz#egg=shared
https://github.com/codecov/shared/archive/2525bc35ff0ede7035947c78c7a183075b404942.tar.gz#egg=shared
https://github.com/codecov/opentelem-python/archive/refs/tags/v0.0.4a1.tar.gz#egg=codecovopentelem
boto3
celery
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ lxml==4.9.1
# via -r requirements.in
minio==7.1.13
# via shared
mmh3==4.0.1
# via shared
mock==4.0.3
# via -r requirements.in
monotonic==1.5
Expand Down Expand Up @@ -277,7 +279,7 @@ s3transfer==0.3.4
# via boto3
sentry-sdk==1.19.1
# via -r requirements.in
shared @ https://github.com/codecov/shared/archive/15a7041cbaca7ca6ed8475f9bc1c94b3e0ecbed0.tar.gz
shared @ https://github.com/codecov/shared/archive/2525bc35ff0ede7035947c78c7a183075b404942.tar.gz
# via -r requirements.in
six==1.15.0
# via
Expand Down

0 comments on commit b4a285f

Please sign in to comment.