I'm trying to find the best way to profile a method that uses redis queue to set a number of jobs for running workers, waits till they're done, and returns.
I tried using cProfile, but it just profiles what's going on in the main thread. Is there a way to configure it to see what's going on with the workers, or another tool that can do this?