Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Neo-Ciber94 authored Oct 16, 2023
1 parent ad21ccd commit 2550120
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/openai-image-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ When deploying to vercel you may receive a timeout after `25 seconds` of running

Using `next-server-task` you can run a long computation, and using *Server Sent Events* we send `wait` messages until the computation is `settle` and them send the result to the client.

![Vercel Timeout Comparison](/assets/vercel-timeout-test.mp4)
https://github.com/Neo-Ciber94/next-server-task/assets/7119315/be4b7001-981d-47a6-83ce-b73a08553c7c


For some reason vercel return `405` on edge timeout, but in the logs it display it correctly.

![Vercel Timeout](/assets/edge-timeout.jpg)
![Vercel Timeout](/assets/edge-timeout.jpg)

0 comments on commit 2550120

Please sign in to comment.