以前在使用celery任务进行扫描时,老是被其超时机制不奏效所困扰,没有一个比较完美的 ... i = i + 1 signal.alarm(0) except AssertionError: print "%d timeout"%(i) ...
確定! 回上一頁