Add thumbnail filename cache and reuse db connections

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer
2020-05-28 16:26:22 +02:00
parent 0527dd655f
commit 52473a1ca9
9 changed files with 63 additions and 19 deletions

View File

@@ -14,7 +14,7 @@ import (
var log = event.Log
func report(prefix string, err error) {
func logError(prefix string, err error) {
if err != nil {
log.Errorf("%s: %s", prefix, err.Error())
}