xwikisas / application-antivirus

Keeps your XWiki instance safe by scanning file attachments for viruses or malware.
GNU Lesser General Public License v2.1
0 stars 1 forks source link

Skip sending attachments to be scanned that are just too large to be scanned by the AV server #27

Open AndreeaChi opened 3 years ago

AndreeaChi commented 3 years ago

An improvement that might result in better performance would be to entirely skip sending attachments to be scanned that are just too large to be scanned by the AV server, since they will be dropped anyway.

Similar to https://github.com/xwikisas/application-antivirus/issues/24 / https://github.com/xwikisas/application-antivirus/issues/25, but to be applied by the scheduled scan as well.

Also, the ClamAV server's max scan size should be tweaked accordingly.