Working download photo method
Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
parent
c1a45bf8e3
commit
b7fd487a2e
18 changed files with 918 additions and 170 deletions
|
@ -55,7 +55,7 @@ func GetThumb(router *gin.RouterGroup) {
|
|||
cacheKey := CacheKey("thumbs", fileHash, typeName)
|
||||
|
||||
if cacheData, ok := cache.Get(cacheKey); ok {
|
||||
log.Debugf("cache hit for %s [%s]", cacheKey, time.Since(start))
|
||||
log.Debugf("api: cache hit for %s [%s]", cacheKey, time.Since(start))
|
||||
|
||||
cached := cacheData.(ThumbCache)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue