Check if the result limit has been hit

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2025-09-25 15:41:27 +02:00
parent 3773ccfbbf
commit 96d044941d
4 changed files with 15 additions and 2 deletions

View File

@@ -10,8 +10,6 @@ import (
"github.com/gin-gonic/gin"
)
// TODO: We need to know when we hit the LIMIT
func routes(s *server.Server, cache *map[string]*search.Result) {
s.Router.Use(
func(c *gin.Context) {