mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-08 21:05:21 +00:00
Tags
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
"heckel.io/ntfy/v2/log"
|
||||
)
|
||||
|
||||
const tagFileBackend = "file_backend"
|
||||
const tagFileBackend = "attachment_file"
|
||||
|
||||
type fileBackend struct {
|
||||
dir string
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
tagS3Backend = "s3_backend"
|
||||
tagS3Backend = "attachment_s3"
|
||||
deleteBatchSize = 1000
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user