Skip to content

Commit

Permalink
feat(prism-agent): update pollux to 0.41.0; (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Mar 16, 2023
1 parent 184838c commit f52c5e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion prism-agent/service/project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ object Dependencies {
val akka = "2.6.20"
val akkaHttp = "10.2.9"
val castor = "0.8.1"
val pollux = "0.40.0"
val pollux = "0.41.0"
val connect = "0.12.0"
val bouncyCastle = "1.70"
val logback = "1.4.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ object BackgroundJobs {
config <- ZIO.service[AppConfig]
records <- credentialService
.getIssueCredentialRecordsByStates(
ignoreWithZeroRetries = true,
IssueCredentialRecord.ProtocolState.OfferPending,
IssueCredentialRecord.ProtocolState.RequestPending,
IssueCredentialRecord.ProtocolState.RequestGenerated,
Expand All @@ -85,6 +86,7 @@ object BackgroundJobs {
config <- ZIO.service[AppConfig]
records <- presentationService
.getPresentationRecordsByStates(
ignoreWithZeroRetries = true,
PresentationRecord.ProtocolState.RequestPending,
PresentationRecord.ProtocolState.PresentationPending,
PresentationRecord.ProtocolState.PresentationGenerated,
Expand Down Expand Up @@ -753,6 +755,7 @@ object BackgroundJobs {
private[this] def performPublishCredentialsToDlt(credentialService: CredentialService) = {
val res: ZIO[Any, CredentialServiceError, Unit] = for {
records <- credentialService.getIssueCredentialRecordsByStates(
ignoreWithZeroRetries = true,
IssueCredentialRecord.ProtocolState.CredentialPending
)
// NOTE: the line below is a potentially slow operation, because <createCredentialPayloadFromRecord> makes a database SELECT call,
Expand Down

0 comments on commit f52c5e0

Please sign in to comment.