Skip to content

Add request count tracking and limitations #5

@denyshon

Description

@denyshon

What do you suggest?
Track a request count for each user

Describe the solution you'd like
A request count (excluding those with separate processes) for each user is kept in an array. It's available for the administrators through a special command. The administrators can also see the top users by requests.

A maximum of MAX (e.g., 3 by default) concurrent processes may be run for the same user. Additional requests are either rejected or queued.

Why are you suggesting that?
Some people may try to abuse the bot by spamming valid links. Due to the absence of true concurrency, it may result in delays, and limited host resources may result in the OS refusing to create more processes and, therefore, temporary unavailability of audio/video download.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions