fix: remove duplicate tx socket updates inside db transactions (#1360)

This commit is contained in:
Rafael Cárdenas
2022-10-18 11:42:50 -05:00
committed by GitHub
parent 61d52ef53c
commit 60c185d839

View File

@@ -2022,9 +2022,6 @@ export class PgWriteStore extends PgStore {
RETURNING tx_id
`;
const deletedTxs = deletedTxResults.map(r => r.tx_id);
for (const txId of deletedTxs) {
await this.notifier?.sendTx({ txId: txId });
}
return { deletedTxs: deletedTxs };
}