changeset 528:5f1aa75c9e74

Set timeout to 10s.
author Simon Cross <hodgestar@gmail.com>
date Sun, 18 Sep 2011 01:03:54 +0200
parents 676e18712c42
children 975e80054200
files mamba/habitats/userlevelmenu.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mamba/habitats/userlevelmenu.py	Sun Sep 18 01:01:35 2011 +0200
+++ b/mamba/habitats/userlevelmenu.py	Sun Sep 18 01:03:54 2011 +0200
@@ -10,7 +10,7 @@
 
 class UserLevelApi(object):
 
-    def __init__(self, ctype, url=LEVEL_SERVER, timeout=5):
+    def __init__(self, ctype, url=LEVEL_SERVER, timeout=10):
         assert ctype in ("curated", "uncurated")
         assert url.endswith("/")
         self.ctype = ctype