@vellumai/vellum-gateway 0.3.25 → 0.3.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -214,6 +214,7 @@ function main() {
|
|
|
214
214
|
|
|
215
215
|
const server = Bun.serve({
|
|
216
216
|
port: config.port,
|
|
217
|
+
idleTimeout: 0,
|
|
217
218
|
websocket: {
|
|
218
219
|
open(ws) {
|
|
219
220
|
if (isBrowserRelaySocketData(ws.data)) {
|
|
@@ -248,6 +249,7 @@ function main() {
|
|
|
248
249
|
return Response.json({ error: "Internal server error" }, { status: 500 });
|
|
249
250
|
},
|
|
250
251
|
async fetch(req, svr) {
|
|
252
|
+
svr.timeout(req, 1800);
|
|
251
253
|
const url = new URL(req.url);
|
|
252
254
|
|
|
253
255
|
if (url.pathname === "/healthz") {
|