Skip to content

Large and multiple scan optimizationΒ #43

@AchillesHeir

Description

@AchillesHeir

Description

There is a rate limit to using VirusTotal, which is 4 scans per minute. Currently the logic is covered by waiting 20 seconds for each file scan, but it's not the best solution as really large scans take longer than could be optimized and running another scan simultaneously will cause errors as it will exceed the rate limit.

Reproduction

The solution is most likely checking if a scan is currently in place and putting a hold if so, the other is listening for when files are done scanning to start a new one provided it's within the time limit.

System information

File is VirusTotalScan, but the invocation of the functionality is in the extension file.

Additional information

None

πŸ‘¨β€πŸ‘§β€πŸ‘¦ Contributing

  • πŸ™‹β€β™‚οΈ Yes, I'd love to make a PR to fix this bug!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions