Skip to content

Forward ReadOptions.concurrencyLimit from OpenTDF reader #1005

Description

@eugenioenko

Description

ReadOptions.concurrencyLimit is exposed by OpenTDF.open() and OpenTDF.read(), but ZTDFReader.decrypt() ignores it and passes concurrencyLimit: 1 to decryptStreamFrom().

The underlying TDF3Client.decrypt() path still supports concurrencyLimit, so this is a wrapper forwarding bug rather than a dead SDK-wide option.

Expected behavior

Pass this.opts.concurrencyLimit to decryptStreamFrom() and add coverage showing that OpenTDF.read() honors the configured KAS concurrency limit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions