Skip to content

Commit

Permalink
fix missing await cc @NikolasHaimerl
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Jan 31, 2025
1 parent 94a6c1e commit 58fe8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/bin/deal-observer-backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const pieceIndexerLoop = async (makeRpcRequest, getDealPayloadCid, pgPool
// Maximum number of deals to index in one loop iteration
const maxDeals = 1000
try {
indexPieces(makeRpcRequest, getDealPayloadCid, pgPool, maxDeals)
await indexPieces(makeRpcRequest, getDealPayloadCid, pgPool, maxDeals)
} catch (e) {
console.error(e)
Sentry.captureException(e)
Expand Down

0 comments on commit 58fe8af

Please sign in to comment.