diff --git a/server/server.go b/server/server.go index 3be3f66227b..6b2476e6a1b 100644 --- a/server/server.go +++ b/server/server.go @@ -107,7 +107,10 @@ type Info struct { // Server is our main struct. type Server struct { + // Fields accessed with atomic operations need to be 64-bit aligned gcid uint64 + // How often user logon fails due to the issuer account not being pinned. + pinnedAccFail uint64 stats mu sync.Mutex kp nkeys.KeyPair @@ -266,9 +269,6 @@ type Server struct { // Keep track of what that user name is for config reload purposes. sysAccOnlyNoAuthUser string - // How often user logon fails due to the issuer account not being pinned. - pinnedAccFail uint64 - // This is a central logger for IPQueues when the number of pending // messages reaches a certain thresold (per queue) ipqLog *srvIPQueueLogger