diff --git a/CHANGES/7929.bugfix b/CHANGES/7929.bugfix new file mode 100644 index 000000000..ac8020098 --- /dev/null +++ b/CHANGES/7929.bugfix @@ -0,0 +1 @@ +Increase interval between requests when token is required diff --git a/pulp_ansible/app/downloaders.py b/pulp_ansible/app/downloaders.py index b5d7b5c9f..ef2cab10a 100644 --- a/pulp_ansible/app/downloaders.py +++ b/pulp_ansible/app/downloaders.py @@ -128,7 +128,7 @@ async def _run_with_additional_headers(self, headers): DownloadResult: Contains information about the result. See the DownloadResult docs for more information. """ - await asyncio.sleep(0.2) + await asyncio.sleep(0.75) async with self.session.get(self.url, headers=headers, proxy=self.proxy) as response: self.raise_for_status(response) to_return = await self._handle_response(response)