Skip to content

Commit

Permalink
docs: Add comment about early acknowledgement
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 28, 2024
1 parent 635e36e commit 6ec837e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pelican/util/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def process_items(
:param ids: the ID's of rows to import
:param insert_items: a function to insert the items, taking ``cursors``, ``dataset_id``, ``ids``
"""
# Acknowledge early when using the Splitter pattern.
ack(client_state, channel, method.delivery_tag)

initialize_dataset_state(dataset_id)
Expand Down

0 comments on commit 6ec837e

Please sign in to comment.