This is an automated email from the ASF dual-hosted git repository.
qiuxiafan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git
The following commit(s) were added to refs/heads/main by this push:
new 200a463 Change the wait time for webdriver (#223)
200a463 is described below
commit 200a463e486acf386c6ad88c6321c5076d6297a0
Author: Fine0830 <[email protected]>
AuthorDate: Mon Jan 12 11:51:11 2026 +0800
Change the wait time for webdriver (#223)
---
services/load-gen/loadgen.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/services/load-gen/loadgen.py b/services/load-gen/loadgen.py
index 79c1795..78696e6 100644
--- a/services/load-gen/loadgen.py
+++ b/services/load-gen/loadgen.py
@@ -51,13 +51,12 @@ while True:
print(f"Error: {e}")
traceback.print_exc()
break
-
- # Wait a bit on the page
- time.sleep(5 * 60)
+ # Wait a moment on the page
+ time.sleep(30)
# Close the page (navigate to blank page)
print("Closing page...")
driver.get("about:blank")
# Wait while page is closed
- time.sleep(60)
+ time.sleep(30)