From c3e625e6f09c90ac33ba63cec5d677960e1f50b9 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sun, 17 Mar 2013 23:07:15 -0400 Subject: [PATCH] Make URI module default to 30 seconds. --- library/uri | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/uri b/library/uri index 0399d57e9c..e3652f3aad 100644 --- a/library/uri +++ b/library/uri @@ -107,7 +107,7 @@ options: description: - The socket level timeout in seconds required: false - default: no timeout + default: 30 HEADER_: description: Any parameter starting with "HEADER_" is a sent with your request as a header. For example, HEADER_Content-Type="application/json" would send the header "Content-Type" along with your request with a value of "application/json". required: false @@ -278,7 +278,7 @@ def main(): creates = dict(required=False, default=None), removes = dict(required=False, default=None), status_code = dict(required=False, default="200"), - timeout = dict(required=False, default=None, type='int'), + timeout = dict(required=False, default=30, type='int'), ), check_invalid_arguments=False, add_file_common_args=True