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 +11 -15
- {locust_cloud-1.12.2.dist-info → locust_cloud-1.12.3.dist-info}/METADATA +3 -3
- {locust_cloud-1.12.2.dist-info → locust_cloud-1.12.3.dist-info}/RECORD +5 -5
- {locust_cloud-1.12.2.dist-info → locust_cloud-1.12.3.dist-info}/WHEEL +1 -1
- {locust_cloud-1.12.2.dist-info → locust_cloud-1.12.3.dist-info}/entry_points.txt +0 -0
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
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
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.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: locust-cloud
|
3
|
-
Version: 1.12.
|
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.
|
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=
|
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.
|
23
|
-
locust_cloud-1.12.
|
24
|
-
locust_cloud-1.12.
|
25
|
-
locust_cloud-1.12.
|
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,,
|
File without changes
|