mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
roll back bigint. add loading
This commit is contained in:
parent
2da51ee931
commit
d53b4a8895
9 changed files with 39 additions and 218 deletions
|
|
@ -46,7 +46,7 @@ async function addRedis(ids) {
|
|||
const redis = process.env.REDIS_URL && (global[REDIS] || getClient());
|
||||
|
||||
(async () => {
|
||||
if (!(await redis.get(INITIALIZED))) {
|
||||
if (redis && !(await redis.get(INITIALIZED))) {
|
||||
await stageData();
|
||||
}
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue