Skip to content

Commit

Permalink
Merge pull request #869 from d-gol/k8s-api-server-error-recover
Browse files Browse the repository at this point in the history
Reset cur_delay after listing resources
  • Loading branch information
manics authored Oct 24, 2024
2 parents 228267c + 92e4799 commit 8fcbd86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kubespawner/reflector.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ async def _watch_and_update(self):
w = watch.Watch()
try:
resource_version = await self._list_and_update(resource_version)
cur_delay = 0.1
watch_args = {
"label_selector": self.label_selector,
"field_selector": self.field_selector,
Expand Down

0 comments on commit 8fcbd86

Please sign in to comment.