update naming of functions, add option to get count of unread messages of user
This commit is contained in:
@@ -5,12 +5,12 @@ 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
|
||||
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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user