Cannot perform I/O on behalf of a different request. I/O objects (such as streams, request/response bodies, and others) created in the context of one request handler cannot be accessed from a different request's handler. This is a limitation of Cloudflare Workers which allows us to improve overall performance."
how do u avoid this ? i have idle_timeout to zero, max_timeout to default, i create a new instance in sveltekit hook.server.ts
i feel like locals.sql=postgres( ) does not really create new instance
Hi guys, i have been getting
Cannot perform I/O on behalf of a different request. I/O objects (such as streams, request/response bodies, and others) created in the context of one request handler cannot be accessed from a different request's handler. This is a limitation of Cloudflare Workers which allows us to improve overall performance."
how do u avoid this ? i have idle_timeout to zero, max_timeout to default, i create a new instance in sveltekit
hook.server.ts
i feel like
locals.sql=postgres( )
does not really create new instance