Skip to content

Commit

Permalink
adding extra delay to complete service when invoking extra lambdas
Browse files Browse the repository at this point in the history
- Want to ensure you don’t miss any messages and pre-maturely delete the queues
  • Loading branch information
dkleissa committed Apr 16, 2017
1 parent 44601d3 commit 8520334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/bossingest/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def post(self, request, ingest_job_id):
ingest_mgmr.invoke_ingest_lambda(ingest_job, num_messages_in_queue)

# Give lambda a few seconds to fire things off
time.sleep(15)
time.sleep(30)

# "COMPLETE" status is 2
ingest_mgmr.cleanup_ingest_job(ingest_job, 2)
Expand Down

0 comments on commit 8520334

Please sign in to comment.