needed save users that can view channel instead of checking
This commit is contained in:
@@ -20,7 +20,7 @@ var (
|
||||
MaxRequestWithAvatarBytes uint32 = 1 << 20
|
||||
MaxRequestWithProfileBgBytes uint32 = 4 << 20
|
||||
FileProcessingPartBytes uint64 = 12 << 20
|
||||
FileProcessingThreads uint32 = 3
|
||||
FileProcessingThreads uint = 3
|
||||
FileDownloadLinkTtl time.Duration = 24 * time.Hour
|
||||
)
|
||||
|
||||
@@ -35,7 +35,7 @@ type configFile struct {
|
||||
MaxRequestWithAvatarBytes uint32 `toml:"max_request_with_avatar_bytes"`
|
||||
MaxRequestWithProfileBgBytes uint32 `toml:"max_request_with_profile_bg_bytes"`
|
||||
FileProcessingPartBytes uint64 `toml:"file_processing_part_bytes"`
|
||||
FileProcessingThreads uint32 `toml:"file_processing_threads"`
|
||||
FileProcessingThreads uint `toml:"file_processing_threads"`
|
||||
FileDownloadLinkTtl time.Duration `toml:"file_download_link_ttl"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user