Skip to content

Commit

Permalink
feat: change LFU size to 50000 in manager cache (#340)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Dec 27, 2024
1 parent 3c763a3 commit d8a2811
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/dragonfly/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: dragonfly
description: Dragonfly is an intelligent P2P based image and file distribution system
icon: https://raw.githubusercontent.com/dragonflyoss/dragonfly/main/docs/images/logo/dragonfly.svg
type: application
version: 1.2.27
version: 1.2.28
appVersion: 2.1.65
keywords:
- dragonfly
Expand All @@ -27,7 +27,7 @@ sources:

annotations:
artifacthub.io/changes: |
- Rename repo Dragonfly2 to dragonfly.
- Change LFU size to 50000 in the manager cache.
artifacthub.io/links: |
- name: Chart Source
Expand Down
2 changes: 1 addition & 1 deletion charts/dragonfly/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ helm delete dragonfly --namespace dragonfly-system
| manager.config.auth.jwt.maxRefresh | string | `"48h"` | MaxRefresh field allows clients to refresh their token until MaxRefresh has passed, default duration is two days. |
| manager.config.auth.jwt.realm | string | `"Dragonfly"` | Realm name to display to the user, default value is Dragonfly. |
| manager.config.auth.jwt.timeout | string | `"48h"` | Timeout is duration that a jwt token is valid, default duration is two days. |
| manager.config.cache.local.size | int | `200000` | Size of LFU cache. |
| manager.config.cache.local.size | int | `50000` | Size of LFU cache. |
| manager.config.cache.local.ttl | string | `"3m"` | Local cache TTL duration. |
| manager.config.cache.redis.ttl | string | `"5m"` | Redis cache TTL duration. |
| manager.config.console | bool | `true` | Console shows log on console. |
Expand Down
2 changes: 1 addition & 1 deletion charts/dragonfly/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ manager:
ttl: 5m
local:
# -- Size of LFU cache.
size: 200000
size: 50000
# -- Local cache TTL duration.
ttl: 3m
job:
Expand Down

0 comments on commit d8a2811

Please sign in to comment.