• Jason Madden's avatar
    Add gevent.util.assert_switches · 56cfd118
    Jason Madden authored
    Based on refactoring existing code in _monitor.py
    
    Flexibly allows checking for any switching, switches that take longer
    than a set amount of time, or switches that exceed a time limit
    between getting back to the hub.
    
    Fixes #1182.
    56cfd118
_monitor.py 16.1 KB