locust 2.19.2.dev24__py3-none-any.whl → 2.19.2.dev35__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of locust might be problematic. Click here for more details.

locust/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2.19.2.dev24'
16
- __version_tuple__ = version_tuple = (2, 19, 2, 'dev24')
15
+ __version__ = version = '2.19.2.dev35'
16
+ __version_tuple__ = version_tuple = (2, 19, 2, 'dev35')
locust/runners.py CHANGED
@@ -998,6 +998,10 @@ class MasterRunner(DistributedRunner):
998
998
  self.connection_broken = True
999
999
  gevent.sleep(FALLBACK_INTERVAL)
1000
1000
  continue
1001
+ except KeyboardInterrupt:
1002
+ logging.debug(
1003
+ "Got KeyboardInterrupt in client_listener. Other greenlets should catch this and shut down."
1004
+ )
1001
1005
  if msg.type == "client_ready":
1002
1006
  if not msg.data:
1003
1007
  logger.error(f"An old (pre 2.0) worker tried to connect ({client_id}). That's not going to work.")