Attachment size limit
This commit is contained in:
parent
24eb27d41c
commit
5eca20469f
5 changed files with 76 additions and 7 deletions
|
@ -14,7 +14,7 @@ const (
|
|||
DefaultMinDelay = 10 * time.Second
|
||||
DefaultMaxDelay = 3 * 24 * time.Hour
|
||||
DefaultMessageLimit = 4096 // Bytes
|
||||
DefaultAttachmentSizeLimit = 15 * 1024 * 1024
|
||||
DefaultAttachmentSizeLimit = int64(15 * 1024 * 1024)
|
||||
DefaultAttachmentSizePreviewMax = 20 * 1024 * 1024 // Bytes
|
||||
DefaultAttachmentExpiryDuration = 3 * time.Hour
|
||||
DefaultFirebaseKeepaliveInterval = 3 * time.Hour // Not too frequently to save battery
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue