Skip to content

Commit 8930b5e

Browse files
committed
Get rid of permament redis storage
With cache timeout set to 1h it just doesn't make any sense to bother doing that.
1 parent 2c380d3 commit 8930b5e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

fly.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ kill_timeout = "5s"
2626
soft_limit = 200
2727
hard_limit = 450
2828

29-
[[mounts]]
30-
destination = "/data"
31-
source = "redis"
32-
3329
[metrics]
3430
port = 8080
3531
path = "/metrics"

redis/start-redis-server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
sysctl vm.overcommit_memory=1
22
sysctl net.core.somaxconn=1024
3-
redis-server --requirepass $CACHE_REDIS_PASSWORD --dir /data/
3+
redis-server --requirepass $CACHE_REDIS_PASSWORD --dir $(mktemp -d)

0 commit comments

Comments
 (0)