API endpoints timing out
I'm hosting a auth server on railway and the API just becomes unresponsive if I hit one of better-auth endpoints with my http client (httpie)
locally it works fine and it logs correctly:
(I added logs: console.log to the db config because I thought something was hanging there)
but on railway it hangs infinitely and crashes my api with a mem leak
worth mentioning i'm using bun + hono setup, there's nothing else in the api, just better-auth.
This is my auth.ts:
2 Replies