Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 399 Bytes

File metadata and controls

8 lines (7 loc) · 399 Bytes

This addon adds profiling controls to queue job functions and wraps queue job execution in an Odoo profiler session when enabled.

When profiling is enabled for a job function and the executing user matches one of the configured profiling users (or no users are set), the queue job runner records SQL and async stack traces via odoo.tools.profiler.Profiler and saves the results into ir_profile.