chore(orchestration): idempotent (#7771)
This commit is contained in:
committed by
GitHub
parent
66d17fabde
commit
5600e58b7f
@@ -46,7 +46,7 @@ async function deleteKeysByPattern(pattern) {
|
||||
async function cleanRedis() {
|
||||
try {
|
||||
await deleteKeysByPattern("bull:*")
|
||||
await deleteKeysByPattern("dtrans:*")
|
||||
await deleteKeysByPattern("dtrx:*")
|
||||
} catch (error) {
|
||||
console.error("Error:", error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user