Skip to content

Commit

Permalink
Merge pull request #61 from GDATASoftwareAG/increaseTimeout
Browse files Browse the repository at this point in the history
set upload timeout to 60 seconds
  • Loading branch information
sfotiadis authored Jun 28, 2022
2 parents eeb2a55 + 5852d9d commit e72733c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/src/vaas/vaas.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ async def __upload(self, token, upload_uri, buffer):
url=upload_uri,
data=buffer,
headers={"Authorization": token, "traceParent": trace_id},
timeout=60,
)
except httpx.TimeoutException:
self.tracing.trace_upload_timeout(len(buffer))
Expand Down

0 comments on commit e72733c

Please sign in to comment.