log before submitBatch
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s
Details
This commit is contained in:
parent
ff42215809
commit
a2aa5c8134
|
@ -86,11 +86,11 @@ const submitRollup = async () => {
|
|||
// Stake our availability to be the next rollup worker
|
||||
await stakeRollupAvailability();
|
||||
// Call Rollup.submitBatch
|
||||
console.log('Submitting batch', { batchPostId, batchItems, authors });
|
||||
const poolDuration = 60;
|
||||
await callWithRetry(() => rollup.submitBatch(batchPostId, batchItems.length, poolDuration));
|
||||
// Send matrix event
|
||||
await sendMatrixEvent('io.dgov.rollup.submit', { batchPostId, batchItems, authors });
|
||||
console.log('Submitted batch', { batchPostId, batchItems, authors });
|
||||
// Clear the batch in preparation for next batch
|
||||
batchItems = [];
|
||||
await applicationData.put('batchItems', batchItems);
|
||||
|
|
Loading…
Reference in New Issue