- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for run_until_complete (0.27 sec)
-
samples/bookinfo/src/productpage/productpage.py
# flood reviews with unnecessary requests to demonstrate Istio rate limiting def floodReviews(product_id, headers): loop = asyncio.new_event_loop() loop.run_until_complete(floodReviewsAsynchronously(product_id, headers)) loop.close() @app.route('/productpage') def front(): product_id = 0 # TODO: replace default value headers = getForwardHeaders(request)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 14:35:54 UTC 2024 - 14.6K bytes - Viewed (1)