roll back bigint. add loading

This commit is contained in:
Brian Cao 2022-08-30 00:03:22 -07:00
parent 2da51ee931
commit d53b4a8895
9 changed files with 39 additions and 218 deletions

View file

@ -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();
}
})();