linkcheck.director.interrupter
Status message handling
Classes
|
Thread that raises KeyboardInterrupt after a specified duration. |
- class linkcheck.director.interrupter.Interrupt(duration)[source]
Bases:
CheckedTask
Thread that raises KeyboardInterrupt after a specified duration. This gives us a portable SIGALRM implementation. The duration is checked every 5 seconds.
Initialize the task.
- Parameters:
duration (int) – raise KeyboardInterrupt after given number of seconds
- WaitSeconds = 5