Skip to content

Commit

Permalink
🔃 sync with main
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Magdi committed Sep 21, 2024
2 parents 5e18fe8 + e52cde8 commit 834fef4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/queue-manager/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ export const parseDbQueue = (q: string): Queue => {
const parts = q.substring(1, q.length - 1).split(',');
return {
name: parts[0],
createdAt: new Date(parts[1]),
isPartitioned: parts[2] === 't',
isUnlogged: parts[3] === 't',
isPartitioned: parts[1] === 't',
isUnlogged: parts[2] === 't',
createdAt: new Date(parts[3]),
};
};

Expand Down

0 comments on commit 834fef4

Please sign in to comment.