mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Change the defaults to 6 and 4.
This commit is contained in:
parent
95ffd19e6e
commit
5dba69bd8f
@ -71,8 +71,9 @@ defaultConfig options@Options{..} = do
|
|||||||
haystackURL <- lookupEnv "HAYSTACK_URL"
|
haystackURL <- lookupEnv "HAYSTACK_URL"
|
||||||
(statsHost, statsPort) <- lookupStatsAddr
|
(statsHost, statsPort) <- lookupStatsAddr
|
||||||
size <- envLookupNum 1000 "MAX_TELEMETRY_QUEUE_SIZE"
|
size <- envLookupNum 1000 "MAX_TELEMETRY_QUEUE_SIZE"
|
||||||
parseTimeout <- envLookupNum 10000 "TREE_SITTER_PARSE_TIMEOUT" -- Default is 10 seconds
|
-- Defaults for these values are commensurate with the Dockerfile
|
||||||
assignTimeout <- envLookupNum 10000 "TREE_SITTER_ASSIGNMENT_TIMEOUT" -- Same for assignment
|
parseTimeout <- envLookupNum 6000 "TREE_SITTER_PARSE_TIMEOUT"
|
||||||
|
assignTimeout <- envLookupNum 4000 "TREE_SITTER_ASSIGNMENT_TIMEOUT"
|
||||||
pure Config
|
pure Config
|
||||||
{ configAppName = "semantic"
|
{ configAppName = "semantic"
|
||||||
, configHostName = hostName
|
, configHostName = hostName
|
||||||
|
Loading…
Reference in New Issue
Block a user