Skip to content

ScheduleMessagesOfDelayedAsync Limit #1689

Open
@PoteRii

Description

@PoteRii

Hello,
If for some reason there is large number of records in db with Delayed or Queued status, all of the records are fetched into memory and this might create problems if you are running pods in K8s, because typically each pod does not have much memory. What do you think about adding a limit here? it can be configurable
https://github.com/dotnetcore/CAP/blob/master/src/DotNetCore.CAP.PostgreSql/IDataStorage.PostgreSql.cs#L240

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