Nutlope / blinkshot

A realtime AI image generator
https://www.blinkshot.io/
639 stars 92 forks source link

[Enhancement]: Backend Image Generation Multiple Hit because of auto complete sentence. #6

Open Cibiyanna26 opened 1 month ago

Cibiyanna26 commented 1 month ago

Issue: On entering the query when the user stops the prompt, it hits the backend on a certain time difference, but it lets to multiple hits to the backend. Which will reduce the performance of the backend when multiple users start to use the application.

image

solution:

Implementing a enter button after user completes his prompt will reduce the number of hits to backend. Unnecessary hits to the backend can be avoided. Which will really help when the application starts to get more no of visitors.

Cibiyanna26 commented 1 month ago

@Nutlope if you are ok with this enhancement, I would like to work on these changes.