-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mitigate timer job submission failures (#4852)
This deals with the (unlikely) possibility that the send queue is not full when the timer servicing action is submitted, but becomes full while submitting the user jobs. Now we catch the failure and re-add (single-expiration) jobs to the start of the priority queue. This is the missing piece to #4846. This is an incremental change, so that we don't have to touch the happy path. A rewrite would be justified to collapse gathering and self-sends. There is an optimisation realised in `@prune`.
- Loading branch information
Showing
2 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,14 +24,14 @@ illegal-await.mo:24.11: info, start of scope [email protected] mentioned in err | |
illegal-await.mo:26.5: info, end of scope [email protected] mentioned in error at illegal-await.mo:25.7-25.14 | ||
illegal-await.mo:22.10: info, start of scope [email protected] mentioned in error at illegal-await.mo:25.7-25.14 | ||
illegal-await.mo:27.3: info, end of scope [email protected] mentioned in error at illegal-await.mo:25.7-25.14 | ||
illegal-await.mo:35.11-35.12: type error [M0087], ill-scoped await: expected async type from current scope $Rec, found async type from other scope $__15 | ||
illegal-await.mo:35.11-35.12: type error [M0087], ill-scoped await: expected async type from current scope $Rec, found async type from other scope $__19 | ||
scope $Rec is illegal-await.mo:33.44-40.2 | ||
scope $__15 is illegal-await.mo:33.1-40.2 | ||
scope $__19 is illegal-await.mo:33.1-40.2 | ||
illegal-await.mo:33.44: info, start of scope $Rec mentioned in error at illegal-await.mo:35.5-35.12 | ||
illegal-await.mo:40.1: info, end of scope $Rec mentioned in error at illegal-await.mo:35.5-35.12 | ||
illegal-await.mo:33.1: info, start of scope $__15 mentioned in error at illegal-await.mo:35.5-35.12 | ||
illegal-await.mo:40.1: info, end of scope $__15 mentioned in error at illegal-await.mo:35.5-35.12 | ||
illegal-await.mo:33.1: info, start of scope $__19 mentioned in error at illegal-await.mo:35.5-35.12 | ||
illegal-await.mo:40.1: info, end of scope $__19 mentioned in error at illegal-await.mo:35.5-35.12 | ||
illegal-await.mo:38.20-38.21: type error [M0096], expression of type | ||
async<$__15> () | ||
async<$__19> () | ||
cannot produce expected type | ||
async<$Rec> () |