mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
Merge branch 'dev' into feat/um-62-prisma-property-names
This commit is contained in:
commit
3143765954
9 changed files with 30 additions and 29 deletions
|
|
@ -70,11 +70,7 @@ async function set(key, value) {
|
|||
|
||||
async function connect() {
|
||||
if (!redis) {
|
||||
process.env.REDIS_URL && (global[REDIS] || getClient());
|
||||
|
||||
if (!(await redis.get(INITIALIZED))) {
|
||||
await stageData();
|
||||
}
|
||||
redis = process.env.REDIS_URL && (global[REDIS] || getClient());
|
||||
}
|
||||
|
||||
return redis;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue