oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.79k stars 2.73k forks source link

BunFileSystemRouter has limit of 64 routes #8278

Closed 1bye closed 9 months ago

1bye commented 9 months ago

What version of Bun is running?

1.0.23+83f2432da

What platform is your computer?

Linux 6.2.0-26-generic x86_64 x86_64 (Ubuntu)

What steps can reproduce the bug?

I using elysia as server with plugin elysia-autoroutes which allows to add routes from any folder. When I adding new file to routes it occur following error. I've tried adding coupe of files, rename, with another content, nothing works. I think error can be occur with bun file system router, or some limitations, idk File count using find ./routes -type f | wc -l is 64 error occur when 65

Thanks

What is the expected behavior?

Screenshot from 2024-01-19 12-38-23

What do you see instead?

Screenshot from 2024-01-19 12-39-02

Additional information

No response

Electroid commented 9 months ago

Duplicate of #8276