Skip to content

Change measuring units in prefix plugin #2068

@mayabar

Description

@mayabar

What would you like to be added:
Update prefix plugin's configuration. Make blockSize parameter deprecated + add a new parameter blockSizeTokens which will define block size in tokens.

In addition, change units of the data stored by the prefix plugin in PrepareRequestData from number of blocks to prefix length in tokens.

Why is this needed:
Usage of tokens units in block size configuration is more convenient.
Data stored in PrepareRequestData is used in PD profile handler - the prefix length should be in tokens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions