comparison server/utils.py @ 47:340a14fcbaeb

change timeout for readline
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 Jun 2012 10:36:12 +0800
parents d3e5934fe55c
children b09c164debf6
comparison
equal deleted inserted replaced
45:425af63d584d 47:340a14fcbaeb
9 import lightblue 9 import lightblue
10 except ImportError: 10 except ImportError:
11 pass 11 pass
12 12
13 DEFAULT_TRIES = 3 13 DEFAULT_TRIES = 3
14 READLINE_SELECT_TIMEOUT = 20 14 READLINE_SELECT_TIMEOUT = 4
15 15
16 __all__ = ('monotonic_time', 'retry') 16 __all__ = ('monotonic_time', 'retry')
17 17
18 clock_gettime = None 18 clock_gettime = None
19 no_clock_gettime = True 19 no_clock_gettime = True