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:
Alexander Casassovici 2017-12-16 21:00:02 -08:00 committed by GitHub
parent c6069a627c
commit 0ddb4d7e88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ var (
LightServFlag = cli.IntFlag{
Name: "lightserv",
Usage: "Maximum percentage of time allowed for serving LES requests (0-90)",
Value: 0,
Value: 25,
}
LightPeersFlag = cli.IntFlag{
Name: "lightpeers",