mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Merge pull request #78 from tgregory/align-fix
Sever structure align fix for atomic operations.
This commit is contained in:
@@ -34,11 +34,13 @@ type Info struct {
|
||||
|
||||
// Server is our main struct.
|
||||
type Server struct {
|
||||
gcid uint64
|
||||
grid uint64
|
||||
stats
|
||||
mu sync.Mutex
|
||||
info Info
|
||||
infoJSON []byte
|
||||
sl *sublist.Sublist
|
||||
gcid uint64
|
||||
opts *Options
|
||||
auth Auth
|
||||
trace bool
|
||||
@@ -51,10 +53,8 @@ type Server struct {
|
||||
done chan bool
|
||||
start time.Time
|
||||
http net.Listener
|
||||
stats
|
||||
|
||||
routeListener net.Listener
|
||||
grid uint64
|
||||
routeInfo Info
|
||||
routeInfoJSON []byte
|
||||
rcQuit chan bool
|
||||
|
||||
Reference in New Issue
Block a user