randomize raft server startup

also some go fmt
This commit is contained in:
Chris Lu
2018-08-12 14:27:14 -07:00
parent eca4b928d2
commit 75d63db60d
6 changed files with 7 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ package command
import (
"bufio"
"context"
"fmt"
"io"
"math"
@@ -19,7 +20,6 @@ import (
"github.com/chrislusf/seaweedfs/weed/security"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/chrislusf/seaweedfs/weed/wdclient"
"context"
)
type BenchmarkOptions struct {