()
| 78 | * @returns A unique ID string with readable timestamp, process ID, thread ID, and counter |
| 79 | */ |
| 80 | export function getShardId(): string { |
| 81 | return `${getUniqueTimeId()}.${process.pid}.${threadId}.${ShardedWalCounter.next()}`; |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * @TODO remove in PR https://github.com/code-pushup/cli/pull/1231 in favour of class method getShardedFileName |
no test coverage detected