Skip to content

Commit

Permalink
Merge pull request #57 from GlodoUK/GH115206
Browse files Browse the repository at this point in the history
GH115206 - Add batch to retries
  • Loading branch information
ellbristow authored Jun 7, 2024
2 parents 7bb0490 + 2732132 commit 9773205
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion delivery_parcelhub_whistl/models/delivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,9 @@ def whistl_tracking_state_update_scheduled(self, batch_size=100):
continue
self.whistl_tracking_state_update(picking)
if self._whistl_get_waiting_pickings():
self.with_delay().whistl_tracking_state_update_scheduled()
self.with_delay().whistl_tracking_state_update_scheduled(
batch_size=batch_size
)

def whistl_tracking_state_update(self, picking):
request_url = self._get_whistl_tracking_url(
Expand Down

0 comments on commit 9773205

Please sign in to comment.