table of Contents
possible problems
- Multi-process start
- gevent start
- The service may not stop running
solve
I would like to refer to this article for a moment the use of code coverage analysis Coverage WSGI project , he basically can solve two problems out of 1.2, the third question I used to stop the current process of coverage of an interface, the interface returns a current work_id process, so it can determine whether the process is terminated, and then coverage combine
on the line