mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
Assign 25% CPU by default to serve light clients
Longer term solution to issue #15454. By making geth default behavior to serve light clients, we'll improve the overall network capacity and support the light client use case.
This commit is contained in:
parent
c6069a627c
commit
0ddb4d7e88
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ var (
|
||||||
LightServFlag = cli.IntFlag{
|
LightServFlag = cli.IntFlag{
|
||||||
Name: "lightserv",
|
Name: "lightserv",
|
||||||
Usage: "Maximum percentage of time allowed for serving LES requests (0-90)",
|
Usage: "Maximum percentage of time allowed for serving LES requests (0-90)",
|
||||||
Value: 0,
|
Value: 25,
|
||||||
}
|
}
|
||||||
LightPeersFlag = cli.IntFlag{
|
LightPeersFlag = cli.IntFlag{
|
||||||
Name: "lightpeers",
|
Name: "lightpeers",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue