Skip to content

Commit

Permalink
Merge pull request #397 from biocore/daklapack_debug
Browse files Browse the repository at this point in the history
add celery decorator to daklapack polling function
  • Loading branch information
wasade authored Oct 21, 2021
2 parents 9645d40 + 8964a9b commit 8c2ea37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions microsetta_private_api/admin/daklapack_polling.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from microsetta_private_api.repo.transaction import Transaction
from microsetta_private_api.repo.admin_repo import AdminRepo
from microsetta_private_api.admin import daklapack_communication as dc
from microsetta_private_api.celery_utils import celery

OUTBOUND_DEV_KEY = "outBoundDelivery"
INBOUND_DEV_KEY = "inBoundDelivery"
Expand All @@ -15,6 +16,7 @@
CODE_ERROR = "Code Error"


@celery.task(ignore_result=False)
def poll_dak_orders():
"""Get open orders' status from daklapack and process accordingly"""

Expand Down

0 comments on commit 8c2ea37

Please sign in to comment.