mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
add db call as fallback
This commit is contained in:
parent
9ddbd12060
commit
b6cd9f305b
10 changed files with 71 additions and 40 deletions
|
|
@ -6,6 +6,7 @@ import { REDIS } from 'lib/db';
|
|||
|
||||
const log = debug('umami:redis');
|
||||
const INITIALIZED = 'redis:initialized';
|
||||
export const DELETED = 'deleted';
|
||||
|
||||
function getClient() {
|
||||
const redis = new Redis(process.env.REDIS_URL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue