mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-06 02:15:22 +00:00
commit
8c3ae26e17
2
setup.py
2
setup.py
@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name='yandextank',
|
||||
version='1.8.32',
|
||||
version='1.8.33',
|
||||
description='a performance measurement tool',
|
||||
longer_description='''
|
||||
Yandex.Tank is a performance measurement and load testing automatization tool.
|
||||
|
@ -32,8 +32,11 @@ def set_sig_handler():
|
||||
ignore = ['SIGCHLD', 'SIGCLD']
|
||||
all_sig = [s for s in dir(signal) if s.startswith("SIG")]
|
||||
for sig_name in ignore:
|
||||
sig_num = getattr(signal, sig_name)
|
||||
signal.signal(sig_num, ignore_handler)
|
||||
try:
|
||||
sig_num = getattr(signal, sig_name)
|
||||
signal.signal(sig_num, ignore_handler)
|
||||
except Exception:
|
||||
pass
|
||||
for sig_name in [s for s in all_sig if s not in (uncatchable + ignore)]:
|
||||
try:
|
||||
sig_num = getattr(signal, sig_name)
|
||||
|
Loading…
Reference in New Issue
Block a user