Skip to content

Commit 633b8bb

Browse files
committed
refactor: simplify key type check in DataAccessObjectRedis
1 parent cbc1759 commit 633b8bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared-code/src/data-access-layer/data-access-objects/data-access-object-redis.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -826,9 +826,9 @@ export class DataAccessObjectRedis extends BasicDataAccessObject implements IDat
826826
} else {
827827
try {
828828
const keyType = await redisClient.type(key);
829-
if (keyType !== 'none') {
830-
standaloneKeys.push({ key, type: keyType });
831-
}
829+
// if (keyType !== 'none') {
830+
standaloneKeys.push({ key, type: keyType });
831+
// }
832832
} catch (_error) {
833833
continue;
834834
}

0 commit comments

Comments
 (0)