roll back bigint. add loading
This commit is contained in:
@@ -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();
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user