Skip to content

perf(restai): set a timeout on dalle3 HTTP calls#129

Open
basheer-cloud wants to merge 1 commit into
apocas:masterfrom
basheer-cloud:fix/set-a-timeout-on-dalle3-http-calls
Open

perf(restai): set a timeout on dalle3 HTTP calls#129
basheer-cloud wants to merge 1 commit into
apocas:masterfrom
basheer-cloud:fix/set-a-timeout-on-dalle3-http-calls

Conversation

@basheer-cloud
Copy link
Copy Markdown

I ran into this while reading through the code path around restai/image/external/dalle3.py. Set a timeout on dalle3 HTTP calls. Network calls without a timeout can hang a worker indefinitely. I kept the patch small and re-ran syntax checks after applying it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant