Skip to content

Commit

Permalink
increase batch size
Browse files Browse the repository at this point in the history
Signed-off-by: kenkosmowski <[email protected]>
  • Loading branch information
kenkosmowski committed Nov 21, 2024
1 parent eb64c8e commit c9c742d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/WalletFramework.MdocVc/MdocRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public CredentialId CredentialId
public CredentialState CredentialState { get; }

/// <summary>
/// Tracks whether it's a one-time use SD-JWT.
/// Tracks whether it's a one-time use Mdoc.
/// </summary>
public bool OneTimeUse { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace WalletFramework.Oid4Vc.Oid4Vci.CredRequest.Implementations;

public class CredentialRequestService : ICredentialRequestService
{
private const int MaxBatchSize = 10;
private const int MaxBatchSize = 20;

public CredentialRequestService(
HttpClient httpClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ from path in field.Path.Select(path => path.TrimStart('$', '.'))
if (clientAttestation != null)
httpClient.AddClientAttestationPopHeader(clientAttestation);

// ToDo: when to delete these records?
var context = await _agentProvider.GetContextAsync();
foreach (var credential in credentials)
{
Expand Down

0 comments on commit c9c742d

Please sign in to comment.