We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55c5d50 + 8ab1e47 commit 9ca9e29Copy full SHA for 9ca9e29
cmd/utils/flags.go
@@ -1211,7 +1211,11 @@ func SetTorrentFsConfig(ctx *cli.Context, cfg *torrentfs.Config) {
1211
log.Info("IPCPath", "path", cfg.IpcPath)
1212
}
1213
trackers := ctx.GlobalString(StorageTrackerFlag.Name)
1214
+ boostnodes := ctx.GlobalString(StorageBoostNodesFlag.Name)
1215
cfg.DefaultTrackers = strings.Split(trackers, ",")
1216
+ cfg.BoostNodes = strings.Split(boostnodes, ",")
1217
+ cfg.MaxSeedingNum = ctx.GlobalInt(StorageMaxSeedingFlag.Name)
1218
+ cfg.MaxActiveNum = ctx.GlobalInt(StorageMaxActiveFlag.Name)
1219
cfg.SyncMode = ctx.GlobalString(SyncModeFlag.Name)
1220
cfg.DataDir = MakeStorageDir(ctx)
1221
0 commit comments