10 seconds.

#34
This commit is contained in:
Kenneth Reitz
2012-02-20 13:19:17 -05:00
parent 9889f2b93a
commit 6161408ee8
+1 -1
View File
@@ -275,7 +275,7 @@ def digest_auth(qop=None, user='user', passwd='passwd'):
@app.route('/delay/<int:delay>')
def delay_response(delay):
"""Returns a delayed response"""
delay = min(delay, 30)
delay = min(delay, 10)
time.sleep(delay)
return jsonify(get_dict(