17 lines
530 B
Go
17 lines
530 B
Go
package globals
|
|
|
|
import "time"
|
|
|
|
const (
|
|
MaxDirectMsgCache uint32 = 32
|
|
MaxHubMsgCache
|
|
FileStorageBucketName string = "communicator"
|
|
MaxRequestBytes uint32 = 4 << 10
|
|
MaxRequestWithFileBytes uint32 = 1 << 30
|
|
MaxRequestWithAvatarBytes uint = 1 << 20
|
|
MaxRequestWithProfileBgBytes uint = 4 << 20
|
|
FileProcessingPartBytes uint64 = 12 << 20
|
|
FileProcessingThreads uint = 3
|
|
FileDownloadLinkTtl time.Duration = 24 * time.Hour
|
|
)
|