locust-cloud 1.12.2__py3-none-any.whl → 1.12.3__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.
locust_cloud/__init__.py CHANGED
@@ -105,21 +105,17 @@ def on_locust_init(environment: locust.env.Environment, **_args):
105
105
  if not (os.environ.get("PGHOST")):
106
106
  return
107
107
 
108
- try:
109
- conninfo = make_conninfo(
110
- sslmode="require",
111
- )
112
- pool = ConnectionPool(
113
- conninfo,
114
- min_size=1,
115
- max_size=20,
116
- configure=set_autocommit,
117
- check=ConnectionPool.check_connection,
118
- )
119
- pool.wait()
120
- except Exception as e:
121
- logger.exception(e)
122
- raise
108
+ conninfo = make_conninfo(
109
+ sslmode="require",
110
+ )
111
+ pool = ConnectionPool(
112
+ conninfo,
113
+ min_size=1,
114
+ max_size=20,
115
+ configure=set_autocommit,
116
+ check=ConnectionPool.check_connection,
117
+ )
118
+ pool.wait(timeout=10)
123
119
 
124
120
  if not environment.parsed_options.graph_viewer:
125
121
  IdleExit(environment)
@@ -1,12 +1,12 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: locust-cloud
3
- Version: 1.12.2
3
+ Version: 1.12.3
4
4
  Summary: Locust Cloud
5
5
  Project-URL: Homepage, https://locust.cloud
6
6
  Requires-Python: >=3.11
7
7
  Requires-Dist: boto3==1.34.125
8
8
  Requires-Dist: gevent-websocket==0.10.1
9
- Requires-Dist: locust>=2.32.2
9
+ Requires-Dist: locust>=2.32.5.dev10
10
10
  Requires-Dist: psycopg[binary,pool]>=3.2.1
11
11
  Requires-Dist: pyjwt>=2.0
12
12
  Requires-Dist: python-socketio[client]==5.11.4
@@ -1,4 +1,4 @@
1
- locust_cloud/__init__.py,sha256=sI_t2Oh__bylaSMvYqy9R8h5VVlQXxxCD71xy_2tePU,4026
1
+ locust_cloud/__init__.py,sha256=F_-Mzw8-OpWEwpnhdIL_PWG2aDOYTXkmZSU11G5GH9s,3914
2
2
  locust_cloud/auth.py,sha256=FTQZvMadDfq7nwVlKfAITp2rI960YBpr6KO7QnXi8i0,17616
3
3
  locust_cloud/cloud.py,sha256=wiVzqcFoOZRnACg4JVrpmXggXxfJcJ9WlUSSj11abMo,13917
4
4
  locust_cloud/credential_manager.py,sha256=MiESqS8IOxncBON04irK1-seF-VNAHHTcELcyxp1ZR8,5571
@@ -19,7 +19,7 @@ locust_cloud/webui/vitest.config.ts,sha256=Rb-lqfCVqW5EAvBCZ-U7LO-tqHbIBc_bQEvfZ
19
19
  locust_cloud/webui/yarn.lock,sha256=slIO1G7Eb2H9bFM4suyh24Mr4YGRM4bHjUhJAmSGdG4,266408
20
20
  locust_cloud/webui/dist/index.html,sha256=o7Wt2gMtE81eDJcqvbPXQ6ssS1qwfcYuMM3OzcaFzhA,664
21
21
  locust_cloud/webui/dist/assets/index-D3YieuNV.js,sha256=EtQvL7--QPGFf3JL_EFSjfdgN2I_uzr6o-hKpTqynXU,2870983
22
- locust_cloud-1.12.2.dist-info/METADATA,sha256=oBzvlTUohxcpZVepuLM1inaiJWWMYP3f7YW6_ShJgAQ,539
23
- locust_cloud-1.12.2.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
24
- locust_cloud-1.12.2.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
25
- locust_cloud-1.12.2.dist-info/RECORD,,
22
+ locust_cloud-1.12.3.dist-info/METADATA,sha256=_1GlLHUWrZzjo7J6c0gMfbcBjDrc9wmaTyoIUsHLyMA,545
23
+ locust_cloud-1.12.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
24
+ locust_cloud-1.12.3.dist-info/entry_points.txt,sha256=PGyAb4e3aTsGS3N3VGShDl6VzJaXy7QwsEgsLOC7V00,57
25
+ locust_cloud-1.12.3.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.26.3
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any