Skip to content

Commit 8a22cb1

Browse files
authored
Enable offline queuing for Redis client when purging (#18570)
1 parent 92db6b7 commit 8a22cb1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

script/purge-redis-pages.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ purgeRenderedPageCache()
4848
function purgeRenderedPageCache () {
4949
const redisClient = createRedisClient({
5050
url: REDIS_URL,
51-
db: pageCacheDatabaseNumber
51+
db: pageCacheDatabaseNumber,
52+
// These commands ARE important, so let's make sure they are all accounted for
53+
enable_offline_queue: true
5254
})
5355

5456
let iteration = 0

0 commit comments

Comments
 (0)