3 ms·
Two things I recommend you do before hosting it again. 1. Use SandboxedEnvironment instead of Environment. 2. Render the template via multiprocessing with a 1
by rbut 10y ago
Two things I recommend you do before hosting it again.
1. Use SandboxedEnvironment instead of Environment.
2. Render the template via multiprocessing with a 10 second timeout. This should solve some of your DOS issues.
- xandr 10y agoThank you, I will try it.