mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-15 07:35:49 -06:00
Tags
This commit is contained in:
parent
1742302f83
commit
6a820b5030
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue