Skip to content

Commit

Permalink
Merge branch 'hotfix-2.9.5'
Browse files Browse the repository at this point in the history
Resolved issue with cache_memory introduced in 2.9.4
  • Loading branch information
LukeHandle committed Feb 11, 2018
2 parents 68b91e0 + a6e6aaf commit 26dfd05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN apk --no-cache add ca-certificates
COPY --from=builder /go/bin/imgd /imgd
COPY config.example.gcfg /config.gcfg
ENTRYPOINT ./imgd
LABEL Name=imgd Version=2.9.4
LABEL Name=imgd Version=2.9.5
EXPOSE 8000
2 changes: 1 addition & 1 deletion cache_memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (

// Based off those, calculate the maximum number of skins we'll store
// in memory.
skinCount = skinSize / cacheSize
skinCount = cacheSize / skinSize
)

// Cache object that stores skins in memory.
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
MinWidth = uint(8)
MaxWidth = uint(300)

ImgdVersion = "2.9.4"
ImgdVersion = "2.9.5"
)

var (
Expand Down

0 comments on commit 26dfd05

Please sign in to comment.