magneticod: more conservative default values to prevent misuse

This commit is contained in:
Bora M. Alper 2020-02-22 14:27:21 +00:00
parent 18edea1c80
commit 9069506acc
No known key found for this signature in database
GPG Key ID: 8F1A9504E1BD114D

View File

@ -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"`