-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(prism-agent): fix infinite reprocessing of records in error (#528)
* chore(prism-agent): make records processing method names more explicit * feat(connect): add 'meta_next_retry' column to connect repo and align 'updateAfterFail()' methods of connect/issue/verify * chore(prism-agent): split PresentationService trait and impl * chore(prism-agent): align 'reportProcessingFailure()' method of connect/credential/presentation services * feat(prism-agent): report connect record processing failure on all errors * feat(prism-agent): improve potential error handling when reporting record processing failure * chore(prism-agent): clean-up unused on-chain VC publication code * fix(prism-agent): fix scala.MatchError in bg jobs 'catchAll' block * feat(prism-agent): do not laod records with max_retries=0 in connect bg job * chore(prism-agent): set bg job recurrence delay to 5 sec (was 2) and processing parallelism to 4 (was 25) * feat(prism-agent): add configurable parameter limiting the number of records processed in each background job iteration * chore(prism-agent): set bg job recurrence delay to 2 sec given it only starts when previous execution ended * chore(prism-agent): add newline at the end of file
- Loading branch information
1 parent
cb01657
commit 904a2dc
Showing
27 changed files
with
939 additions
and
885 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
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
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
2 changes: 2 additions & 0 deletions
2
connect/lib/sql-doobie/src/main/resources/sql/connect/V5__add_meta_next_retry.sql
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE public.connection_records | ||
ADD meta_next_retry TIMESTAMP WITH TIME ZONE; |
Oops, something went wrong.