16 lines
478 B
Go
16 lines
478 B
Go
package globals
|
|
|
|
import "time"
|
|
|
|
const (
|
|
MaxDirectMsgCache uint32 = 12
|
|
FileStorageBucketName string = "communicator"
|
|
MaxPostBytes uint32 = 4 << 10
|
|
MaxPostWithFileBytes uint32 = 1 << 30
|
|
MaxPostWithAvatar uint = 1 << 20
|
|
MaxPostWithProfileBg uint = 4 << 20
|
|
FileProcessingPartSize uint64 = 12 << 20
|
|
FileProcessingThreads uint = 3
|
|
FileDownloadLinkTtl time.Duration = 24 * time.Hour
|
|
)
|