locust-cloud 1.4.1__py3-none-any.whl → 1.4.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/timescale/exporter.py +5 -0
- locust_cloud/webui/dist/assets/{index-DDfQWMpr.js → index-B3EvNIm8.js} +81 -81
- locust_cloud/webui/dist/index.html +1 -1
- locust_cloud/webui/tsconfig.tsbuildinfo +1 -1
- {locust_cloud-1.4.1.dist-info → locust_cloud-1.4.3.dist-info}/METADATA +1 -1
- {locust_cloud-1.4.1.dist-info → locust_cloud-1.4.3.dist-info}/RECORD +8 -8
- {locust_cloud-1.4.1.dist-info → locust_cloud-1.4.3.dist-info}/WHEEL +0 -0
- {locust_cloud-1.4.1.dist-info → locust_cloud-1.4.3.dist-info}/entry_points.txt +0 -0
@@ -126,6 +126,11 @@ VALUES (%(time)s, %(run_id)s, %(greenlet_id)s, %(loadgen)s, %(name)s, %(request_
|
|
126
126
|
def on_test_stop(self, environment):
|
127
127
|
if getattr(self, "_user_count_logger", False):
|
128
128
|
self._user_count_logger.kill()
|
129
|
+
with self.pool.connection() as conn:
|
130
|
+
conn.execute(
|
131
|
+
"""INSERT INTO number_of_users(time, run_id, user_count) VALUES (%s, %s, %s)""",
|
132
|
+
(datetime.now(UTC).isoformat(), self._run_id, 0),
|
133
|
+
)
|
129
134
|
self.log_stop_test_run()
|
130
135
|
|
131
136
|
def on_quit(self, exit_code, **kwargs):
|