Skip to content

Commit

Permalink
Fix compatibility with the latest version of ek package
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 17, 2024
1 parent e6b8897 commit f8fbed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
knfn "github.com/essentialkaos/ek/v13/knf/validators/network"
knfr "github.com/essentialkaos/ek/v13/knf/validators/regexp"

"github.com/essentialkaos/go-badge"
badge "github.com/essentialkaos/go-badge"

"github.com/valyala/fasthttp"

Expand Down Expand Up @@ -280,7 +280,7 @@ func setupCache() error {
var err error

badgeCache, err = memory.New(memory.Config{
DefaultExpiration: knf.GetD(CACHE_PERIOD, knf.Second),
DefaultExpiration: knf.GetD(CACHE_PERIOD, knf.SECOND),
CleanupInterval: 15 * time.Second,
})

Expand Down

0 comments on commit f8fbed2

Please sign in to comment.