Files
go-socket/packages/globals/globals.go
T

14 lines
382 B
Go

package globals
import "time"
const (
MaxDirectMsgCache uint32 = 12
FileStorageBucketName string = "communicator"
MaxPostBytes uint32 = 4 << 10
MaxPostWithFileBytes uint32 = 1 << 30
FileProcessingPartSize uint64 = 24 << 10
FileProcessingThreads uint = 3
FileDownloadLinkTtl time.Duration = 24 * time.Hour
)