Skip to content

Commit

Permalink
Drop extra LimiterRegistry Enable (#25111)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmi authored Jan 26, 2024
1 parent 3b357e2 commit 2acac70
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vault/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -1308,11 +1308,6 @@ func NewCore(conf *CoreConfig) (*Core, error) {
return nil, err
}

c.limiterRegistry = conf.LimiterRegistry
c.limiterRegistryLock.Lock()
c.limiterRegistry.Enable()
c.limiterRegistryLock.Unlock()

// Version history
if c.versionHistory == nil {
c.logger.Info("Initializing version history cache for core")
Expand Down

0 comments on commit 2acac70

Please sign in to comment.