Skip to content

Commit

Permalink
fix: increase default agent count
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Apr 19, 2024
1 parent b3edb6a commit db549b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('prover/orchestrator/errors', () => {
const finalisedBlock = await context.orchestrator.finaliseBlock();

expect(finalisedBlock.block.number).toEqual(context.blockNumber);
}, 30_000);
}, 40_000);

it('throws if adding a transaction before start', async () => {
await expect(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe('prover/orchestrator/lifecycle', () => {
const finalisedBlock = await context.orchestrator.finaliseBlock();

expect(finalisedBlock.block.number).toEqual(101);
}, 20000);
}, 40000);

it('automatically cancels an incomplete block when starting a new one', async () => {
const txs1 = await Promise.all([
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/prover-client/src/tx-prover/tx-prover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class TxProver implements ProverClient {
private worldStateSynchronizer: WorldStateSynchronizer,
simulationProvider: SimulationProvider,
protected vks: VerificationKeys,
agentCount = 1,
agentCount = 4,
agentPollIntervalMS = 10,
) {
this.proverPool = new ProverPool(
Expand Down

0 comments on commit db549b3

Please sign in to comment.