Files
go-socket/packages/globals/globals.go
T
2026-04-19 23:25:30 +02:00

17 lines
482 B
Go

package globals
import "time"
const (
MaxDirectMsgCache uint32 = 32
MaxHubMsgCache
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
)