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