roll back bigint. add loading

This commit is contained in:
Brian Cao committed 2022-08-30 00:03:22 -07:00
1 parent 2da51ee931
commit d53b4a8895
9 files changed
+39 -218

No files matched your search

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