1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-11-29 11:50:22 +01:00
This commit is contained in:
binwiederhier 2025-08-08 16:10:49 -04:00
parent 97410db301
commit fe5c844a21
2 changed files with 24 additions and 2 deletions

View file

@ -8,8 +8,8 @@ import (
"net/netip"
"path/filepath"
"strings"
"time"
"sync"
"time"
_ "github.com/mattn/go-sqlite3" // SQLite driver
"heckel.io/ntfy/v2/log"
@ -283,8 +283,8 @@ var (
type messageCache struct {
db *sql.DB
queue *util.BatchingQueue[*message]
mu sync.Mutex
nop bool
mu sync.Mutex
}
// newSqliteCache creates a SQLite file-backed cache