cmd/swarm: change seed every new uploaded hash

This commit is contained in:
Elad Nachmias 2019-02-25 15:09:08 +07:00
parent c7c7ef3d93
commit 01c073579e

View file

@ -61,6 +61,7 @@ func slidingWindow(ctx *cli.Context, tuid string) error {
outer:
for {
seed = int(time.Now().UTC().UnixNano())
log.Info("uploading to "+httpEndpoint(hosts[0])+" and syncing", "seed", seed)
t1 := time.Now()