Skip to content

Commit

Permalink
Reorder struct fields for 64-bit alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
riobard committed Feb 15, 2020
1 parent 3b9979b commit d0853a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speeddial/dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ func logf(format string, v ...interface{}) {
type Dial func() (net.Conn, error)

type target struct {
dial Dial
last int64 // last dial since epoch
latency int64 // exponetially smoothed
inflight int32 // number of inflight dial
dial Dial
}

func (t *target) Dial() (net.Conn, error) {
Expand Down

0 comments on commit d0853a5

Please sign in to comment.