mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-17 04:22:01 +00:00
core: increase default queue sizes to 1024, fix broadcast bot not to lock when queue is smaller than the number of contacts (#1955)
This commit is contained in:
@@ -105,7 +105,6 @@ defaultChatConfig =
|
||||
fileChunkSize = 15780, -- do not change
|
||||
inlineFiles = defaultInlineFilesConfig,
|
||||
logLevel = CLLImportant,
|
||||
subscriptionConcurrency = 16,
|
||||
subscriptionEvents = False,
|
||||
hostEvents = False,
|
||||
testView = False,
|
||||
|
||||
@@ -105,7 +105,6 @@ data ChatConfig = ChatConfig
|
||||
tbqSize :: Natural,
|
||||
fileChunkSize :: Integer,
|
||||
inlineFiles :: InlineFilesConfig,
|
||||
subscriptionConcurrency :: Int,
|
||||
subscriptionEvents :: Bool,
|
||||
hostEvents :: Bool,
|
||||
logLevel :: ChatLogLevel,
|
||||
|
||||
@@ -135,7 +135,7 @@ mobileChatOpts dbFilePrefix dbKey =
|
||||
logConnections = False,
|
||||
logServerHosts = True,
|
||||
logAgent = False,
|
||||
tbqSize = 64
|
||||
tbqSize = 1024
|
||||
},
|
||||
chatCmd = "",
|
||||
chatCmdDelay = 3,
|
||||
|
||||
@@ -132,7 +132,7 @@ coreChatOptsP appDir defaultDbFileName = do
|
||||
<> short 'q'
|
||||
<> metavar "SIZE"
|
||||
<> help "Internal queue size"
|
||||
<> value 64
|
||||
<> value 1024
|
||||
<> showDefault
|
||||
)
|
||||
pure
|
||||
|
||||
Reference in New Issue
Block a user