Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout on longer generations: Part 1 #47

Closed
0ptim opened this issue May 21, 2023 · 0 comments
Closed

Timeout on longer generations: Part 1 #47

0ptim opened this issue May 21, 2023 · 0 comments
Assignees
Labels
area:tech-stack Something about the stack in general. bug Something isn't working

Comments

@0ptim
Copy link
Owner

0ptim commented May 21, 2023

Because fly.io has a 60-second idle timeout, some questions fail.
After 60 seconds, fly.io just returns an HTTP 500 error.

https://community.fly.io/t/60-second-timeout-for-http-server/1243

Solution

Instead of using HTTP Rest, we'll be using a web socket to

  • Keep the connection open at all time
    • No idle timeout from fly.io (yay 🎉)
@0ptim 0ptim added bug Something isn't working area:tech-stack Something about the stack in general. labels May 21, 2023
@0ptim 0ptim changed the title Timeout on longer generations Timeout on longer generations: Part 1 May 21, 2023
@0ptim 0ptim self-assigned this May 21, 2023
@0ptim 0ptim closed this as completed May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:tech-stack Something about the stack in general. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant