Skip to content

Question - Multiple route level limits. #10

@martyymc

Description

@martyymc

Hello,

If I set up limits on 2 or more individual routes will they each have their own queue or will they all share one queue?

So if I have:

app.use('/products', queue({ activeLimit: 1 }) );
app.use('/services', queue({ activeLimit: 100 }) );

If I make one request to /products that takes 5secs to complete - will users be blocked from /services during that time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions