This commit is contained in:
binwiederhier 2026-03-21 16:29:58 -04:00
parent 1742302f83
commit 6a820b5030
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ import (
"heckel.io/ntfy/v2/log"
)
const tagFileBackend = "file_backend"
const tagFileBackend = "attachment_file"
type fileBackend struct {
dir string

View file

@ -10,7 +10,7 @@ import (
)
const (
tagS3Backend = "s3_backend"
tagS3Backend = "attachment_s3"
deleteBatchSize = 1000
)

View file

@ -15,7 +15,7 @@ import (
)
const (
tagStore = "attachment_cache"
tagStore = "attachment_store"
syncInterval = 15 * time.Minute // How often to run the background sync loop
orphanGracePeriod = time.Hour // Don't delete orphaned objects younger than this to avoid races with in-flight uploads
)