magneticod: more conservative default values to prevent misuse
This commit is contained in:
parent
18edea1c80
commit
9069506acc
@ -138,9 +138,9 @@ func parseFlags() (*opFlags, error) {
|
||||
|
||||
IndexerAddrs []string `long:"indexer-addr" description:"Address(es) to be used by indexing DHT nodes." default:"0.0.0.0:0"`
|
||||
IndexerInterval uint `long:"indexer-interval" description:"Indexing interval in integer seconds." default:"1"`
|
||||
IndexerMaxNeighbors uint `long:"indexer-max-neighbors" description:"Maximum number of neighbors of an indexer." default:"10000"`
|
||||
IndexerMaxNeighbors uint `long:"indexer-max-neighbors" description:"Maximum number of neighbors of an indexer." default:"1000"`
|
||||
|
||||
LeechMaxN uint `long:"leech-max-n" description:"Maximum number of leeches." default:"200"`
|
||||
LeechMaxN uint `long:"leech-max-n" description:"Maximum number of leeches." default:"50"`
|
||||
|
||||
Verbose []bool `short:"v" long:"verbose" description:"Increases verbosity."`
|
||||
Profile string `long:"profile" description:"Enable profiling." choice:"cpu" choice:"memory"`
|
||||
|
Loading…
Reference in New Issue
Block a user