How to use Apps for long (1-20 sec) file checking on external service

After switching Apps-Engine on Deno in version >=6.11, we encountered a time limit for file checking.
The result of method executePreFileUpload is ignored if the external file checking service delayed its response for more than 1 second.
The related issue for 6.11 is almost a vulnerability.
Can you advise how to implement in Apps with new Apps-Engine, long file checking on an external service?

Please don’t open the same question in multiple places.

You just confuse people with duplication.

You also need to follow this:

  • Ensure you’re running the latest version of Rocket.Chat. An update might resolve your issue.

https://developer.rocket.chat/docs/contribute-through-bug-reporting