Set serial_scheduler.next_ready to false
Set the serial scheduler's next_ready field to false when a transaction
is sent to the executor; this allows the executor to properly inform the
scheduler when it is and is not ready for the next transaction.
@@ -189,7 +189,8 @@ impl SchedulerCore {
self.current_batch = Some(pair);
self.execution_tx
- .send(ExecutionTask::new(transaction, context_id))?
+ .send(ExecutionTask::new(transaction, context_id))?;
+ self.next_ready = false;
}
Ok(())
