mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-28 22:18:29 +00:00
* teminal: option to log errors and service messages to file, closes #1516 * rename function
This commit is contained in:
+6
-4
@@ -59,8 +59,9 @@ testOpts =
|
||||
logLevel = CLLImportant,
|
||||
logConnections = False,
|
||||
logServerHosts = False,
|
||||
logAgent = False,
|
||||
tbqSize = 64
|
||||
logAgent = Nothing,
|
||||
logFile = Nothing,
|
||||
tbqSize = 16
|
||||
},
|
||||
chatCmd = "",
|
||||
chatCmdDelay = 3,
|
||||
@@ -91,7 +92,7 @@ data TestCC = TestCC
|
||||
}
|
||||
|
||||
aCfg :: AgentConfig
|
||||
aCfg = agentConfig defaultChatConfig
|
||||
aCfg = (agentConfig defaultChatConfig) {tbqSize = 16}
|
||||
|
||||
testAgentCfg :: AgentConfig
|
||||
testAgentCfg = aCfg {reconnectInterval = (reconnectInterval aCfg) {initialInterval = 50000}}
|
||||
@@ -100,7 +101,8 @@ testCfg :: ChatConfig
|
||||
testCfg =
|
||||
defaultChatConfig
|
||||
{ agentConfig = testAgentCfg,
|
||||
testView = True
|
||||
testView = True,
|
||||
tbqSize = 16
|
||||
}
|
||||
|
||||
testAgentCfgV1 :: AgentConfig
|
||||
|
||||
Reference in New Issue
Block a user