mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Fix race, bump version to RC1
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -780,7 +780,11 @@ func (a *Account) clearExpirationTimer() bool {
|
||||
return stopped
|
||||
}
|
||||
|
||||
// Check expiration and set the proper state as needed.
|
||||
func (a *Account) checkExpiration(claims *jwt.ClaimsData) {
|
||||
a.mu.Lock()
|
||||
defer a.mu.Unlock()
|
||||
|
||||
a.clearExpirationTimer()
|
||||
if claims.Expires == 0 {
|
||||
a.expired = false
|
||||
|
||||
@@ -40,7 +40,7 @@ var (
|
||||
|
||||
const (
|
||||
// VERSION is the current version for the server.
|
||||
VERSION = "2.0.0-beta.13"
|
||||
VERSION = "2.0.0-RC1"
|
||||
|
||||
// PROTO is the currently supported protocol.
|
||||
// 0 was the original
|
||||
|
||||
Reference in New Issue
Block a user