aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/swarm-smoke/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/swarm/swarm-smoke/main.go')
-rw-r--r--cmd/swarm/swarm-smoke/main.go33
1 files changed, 16 insertions, 17 deletions
diff --git a/cmd/swarm/swarm-smoke/main.go b/cmd/swarm/swarm-smoke/main.go
index 860fbcc1d..2c1dd65a0 100644
--- a/cmd/swarm/swarm-smoke/main.go
+++ b/cmd/swarm/swarm-smoke/main.go
@@ -37,17 +37,17 @@ var (
)
var (
- allhosts string
- hosts []string
- filesize int
- inputSeed int
- syncDelay int
- httpPort int
- wsPort int
- verbosity int
- timeout int
- single bool
- trackTimeout int
+ allhosts string
+ hosts []string
+ filesize int
+ syncDelay int
+ inputSeed int
+ httpPort int
+ wsPort int
+ verbosity int
+ timeout int
+ single bool
+ onlyUpload bool
)
func main() {
@@ -101,7 +101,7 @@ func main() {
},
cli.IntFlag{
Name: "timeout",
- Value: 120,
+ Value: 180,
Usage: "timeout in seconds after which kill the process",
Destination: &timeout,
},
@@ -110,11 +110,10 @@ func main() {
Usage: "whether to fetch content from a single node or from all nodes",
Destination: &single,
},
- cli.IntFlag{
- Name: "track-timeout",
- Value: 5,
- Usage: "timeout in seconds to wait for GetAllReferences to return",
- Destination: &trackTimeout,
+ cli.BoolFlag{
+ Name: "only-upload",
+ Usage: "whether to only upload content to a single node without fetching",
+ Destination: &onlyUpload,
},
}