mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
update default worker count for autotranslations (#35355)
This commit is contained in:
parent
100cde3a1a
commit
334c1bcbb7
1 changed files with 3 additions and 1 deletions
|
|
@ -204,6 +204,8 @@ const (
|
|||
AnnouncementSettingsDefaultNoticesJsonURL = "https://notices.mattermost.com/"
|
||||
AnnouncementSettingsDefaultNoticesFetchFrequencySeconds = 3600
|
||||
|
||||
AutoTranslationDefaultWorkers = 6
|
||||
|
||||
TeamSettingsDefaultTeamText = "default"
|
||||
|
||||
ElasticsearchSettingsDefaultConnectionURL = "http://localhost:9200"
|
||||
|
|
@ -2836,7 +2838,7 @@ func (s *AutoTranslationSettings) SetDefaults() {
|
|||
}
|
||||
|
||||
if s.Workers == nil {
|
||||
s.Workers = NewPointer(4)
|
||||
s.Workers = NewPointer(AutoTranslationDefaultWorkers)
|
||||
}
|
||||
|
||||
if s.TimeoutMs == nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue