Replies: 3 comments
-
Hello, |
Beta Was this translation helpful? Give feedback.
0 replies
-
wait a moment |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @charnould |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm using
Bun
+Hono
to build a chatbot (with streams).Sometimes it fails with
[Bun.serve]: request timed out after 10 seconds. Pass idleTimeout to configure.
because my request is sadly too long.I've tried to extend timeout delay and dunno how to make it effective.
Actually, I wrote this in my
app.ts
:Source: https://bun.sh/docs/api/http#idletimeout
It seems to work, but I don't know if it's the official/cleanest way (there is an official middleware but it warns for Stream : https://hono.dev/docs/middleware/builtin/timeout#notes)...
Any advice?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions