Contributors mailing list archives
Re: Some help please - Webkit Reports asset loadingby
Open for Small Business, Graeme Gellatly
The only time and way to reproduce this I have found is to trigger one of those two things immediately on a server restart. All subsequent jobs/crons run as expected. The assets cache for reports is a bit funny due to another workaround in the code. I think these code comments are rather indicative of the issue I face.
On Sat, Mar 23, 2019 at 1:56 AM Pedro M. Baeza (Tecnativa) <email@example.com> wrote:
Indeed it's a weird thing, as the queue worker only launches the command to wkhtmltopdf executable, and that one request the assets, so the HTTP dispatcher is attending it, so it seems the confluence of:- A worker invalidation takes place while the wkhtmltopdf request (or a bit before), spawning a new worker.- The dispatch is done before loading all assets, that happens asynchronously.So it seems something of the dispatcher that should wait for that kind of things before answering, and thus an Odoo thing? The problem is the difficulty to express and to try this on the Odoo side.Regards.