Because we use several uwsgi workers, they steal resources from each other -- i.e. the schema.json file generation on my env takes 16s when using 2 workers and 8s when using 1 worker.
--> this locks the schema.json file when a process is generating the schema, and the other processes wait for it to be done before proceeding
I set the timeout to 5 min but we could change that
Because we use several uwsgi workers, they steal resources from each other -- i.e. the
schema.json
file generation on my env takes 16s when using 2 workers and 8s when using 1 worker. --> this locks theschema.json
file when a process is generating the schema, and the other processes wait for it to be done before proceedingI set the timeout to 5 min but we could change that