You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not 100% sure if it's necessarily the fault of this lib itself but I haven't been too successful in terms of boiling it down as to what exactly is the problem.
To reproduce simply swap out the adapter with the one I listed above and run with: bun --bun run dev, click on the submit button and watch it load forever.
I used this repo to conduct the test and I was using the latest (0.5.2) adapter for bun.
Somewhere within this function the problems start.
I even tried commenting out the 2 funtions that reference the event, no success.
The funny part is, it actually works! As in rate-limiting is being applied if exceeded but the response is somehow lost.
The text was updated successfully, but these errors were encountered:
I'm not 100% sure if it's necessarily the fault of this lib itself but I haven't been too successful in terms of boiling it down as to what exactly is the problem.
Basically if you use the bun runtime using: https://github.com/gornostay25/svelte-adapter-bun suddenly when submitting any form requests the response is stuck pending endlessly.
To reproduce simply swap out the adapter with the one I listed above and run with:
bun --bun run dev
, click on the submit button and watch it load forever.I used this repo to conduct the test and I was using the latest (0.5.2) adapter for bun.
Somewhere within this function the problems start.
sveltekit-rate-limiter/src/lib/server/index.ts
Lines 406 to 409 in 0466070
I even tried commenting out the 2 funtions that reference the event, no success.
The funny part is, it actually works! As in rate-limiting is being applied if exceeded but the response is somehow lost.
The text was updated successfully, but these errors were encountered: