log before submitBatch
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s Details

This commit is contained in:
Ladd Hoffman 2024-05-02 20:18:59 -05:00
parent ff42215809
commit a2aa5c8134
1 changed files with 1 additions and 1 deletions

View File

@ -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);