Skip to content

Commit d06fc7d

Browse files
committed
LRUCache ttl
1 parent 1fcc2b9 commit d06fc7d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/docker-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ jobs:
3535
with:
3636
push: true
3737
platforms: linux/amd64
38-
tags: cdnbye/cbsignal_uws:latest
39-
# tags: cdnbye/cbsignal_uws:5.4.8
38+
# tags: cdnbye/cbsignal_uws:latest
39+
tags: cdnbye/cbsignal_uws:5.4.9

lib/broker/redis.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function initCache(max = 100000) {
158158
// },
159159

160160
// how long to live in ms
161-
// ttl: 1000 * 60 * 5,
161+
ttl: 1000 * 60 * 15,
162162

163163
// return stale items before removing from cache?
164164
allowStale: false,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cbsignal_uws",
3-
"version": "5.4.8",
3+
"version": "5.4.9",
44
"description": "SwarmCloud signaling server using uWebSockets.js",
55
"main": "index.js",
66
"bin": "index.js",

0 commit comments

Comments
 (0)