Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,9 @@ def _get_initial_request(self):
# Any ack IDs that are under lease management need to have their
# deadline extended immediately.
if self._leaser is not None:
lease_ids = self._leaser.ack_ids
# Explicitly copy the list, as it could be modified by another
# thread.
lease_ids = list(self._leaser.ack_ids)
else:
lease_ids = []

Expand Down