diff --git a/app.py b/app.py index 610833b..14e7205 100644 --- a/app.py +++ b/app.py @@ -32,7 +32,7 @@ def hello_world(): @IN_PROGRESS.track_inprogress() def slow_request(): REQUESTS.labels(method='GET', endpoint="/slow").inc() - v = random.random() + v = random.expovariate(1.0 / 1.3) time.sleep(v) return render_template_string('

Wow, that took {{v}} s!

', v=v)