RhysSullivan / shiptalkers

https://shiptalkers.dev
677 stars 36 forks source link

API call should be Debounced #74

Open SandeepKrSuman opened 3 weeks ago

SandeepKrSuman commented 3 weeks ago

Currently, the GitHub API is called on every keystroke when entering the GitHub username. This results in an excessive number of API requests, which can lead to performance issues and rate limiting. It would be more efficient to debounce the request with a slight delay.


shiptalkers

redxzeta commented 3 weeks ago

maybe it should be increased? https://github.dev/RhysSullivan/shiptalkers/blob/main/src/server/api/routers/get-data.ts