mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:31:43 +00:00
p4fusion: Use better default values (#57737)
These numbers have proven much more performant in local testing, so I propose that we modify the defaults here.
This commit is contained in:
parent
7f3e4755bd
commit
d311834a8f
@ -234,8 +234,8 @@ func configureFusionClient(conn *schema.PerforceConnection) FusionConfig {
|
||||
LookAhead: 2000,
|
||||
NetworkThreads: 12,
|
||||
NetworkThreadsFetch: 12,
|
||||
PrintBatch: 10,
|
||||
Refresh: 100,
|
||||
PrintBatch: 100,
|
||||
Refresh: 1000,
|
||||
Retries: 10,
|
||||
MaxChanges: -1,
|
||||
IncludeBinaries: false,
|
||||
|
||||
@ -112,7 +112,7 @@
|
||||
"printBatch": {
|
||||
"description": "The p4 print batch size",
|
||||
"type": "integer",
|
||||
"default": 10,
|
||||
"default": 100,
|
||||
"minimum": 1
|
||||
},
|
||||
"retries": {
|
||||
@ -124,7 +124,7 @@
|
||||
"refresh": {
|
||||
"description": "How many times a connection should be reused before it is refreshed",
|
||||
"type": "integer",
|
||||
"default": 100,
|
||||
"default": 1000,
|
||||
"minimum": 1
|
||||
},
|
||||
"lookAhead": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user