Separate request Root durability barriers from complete storage flushes
This commit is contained in:
@@ -210,6 +210,10 @@ export function createScheduler(options: SchedulerOptions) {
|
||||
own(options.getLedger().requests.get(requestId)!); launch(requestId, 'submit');
|
||||
} catch (error) { options.mutate(ledger => ledger.block(id, [(error as Error).message || 'compile_failed'])); report(error); }
|
||||
}
|
||||
} catch(error) {
|
||||
// A retired identity can reject both the attempt and its blocked-state write.
|
||||
// Report the failure without rejecting an unobserved scheduled pump promise.
|
||||
report(error);
|
||||
} finally {
|
||||
pumping = false; armTimer();
|
||||
if (!stopped && !holds.size && ready.size && active.size < concurrency && pumpTimer === undefined) pumpTimer = clock.setTimer(() => { pumpTimer = undefined; pump(); }, 0);
|
||||
|
||||
Reference in New Issue
Block a user