@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/vellum-gateway",
3
- "version": "0.3.25",
3
+ "version": "0.3.27",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "bun run --watch src/index.ts",
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") {