HomePhabricator

Make sure server stops in 5 seconds tops

Description

Make sure server stops in 5 seconds tops

Now we have the SIGALRM trick inplace, but Event.wait() masks all signals
in some Python versions, so that won't do. Using a timeout allows signals
to be processed, so if the event wasn't set within 5 seconds the program
will now end no matter what.

Details

Provenance
saghulAuthored on Sep 12 2013, 10:33 AM
Parents
rSYLK33e0f6d2c559: Reworked server stop mechanism
Branches
Unknown
Tags
Unknown