Removing debug log
Cette révision appartient à :
Parent
65ea2335dd
révision
eb0f7b6cfa
1 fichiers modifiés avec 0 ajouts et 3 suppressions
|
@ -8,8 +8,6 @@ import (
|
|||
|
||||
"time"
|
||||
|
||||
"fmt"
|
||||
|
||||
"github.com/NyaaPantsu/nyaa/config"
|
||||
"github.com/NyaaPantsu/nyaa/models"
|
||||
"github.com/NyaaPantsu/nyaa/models/torrents"
|
||||
|
@ -94,7 +92,6 @@ func byQuery(c *gin.Context, pagenum int, countAll bool, withUser bool, deleted
|
|||
return torrentParam, torrentCache.Torrents, torrentCache.Count, nil
|
||||
}
|
||||
totalHits, tor, err := torrentParam.Find(models.ElasticSearchClient)
|
||||
fmt.Println("lol")
|
||||
cache.C.Set(torrentParam.Identifier(), &structs.TorrentCache{tor, int(totalHits)}, 5*time.Minute)
|
||||
// Convert back to non-json torrents
|
||||
return torrentParam, tor, int(totalHits), err
|
||||
|
|
Référencer dans un nouveau ticket