comparison server/utils.py @ 353:20f7161399a8

change timeout for readline
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 Jun 2012 10:36:12 +0800
parents 05c1249da994
children b09c164debf6
comparison
equal deleted inserted replaced
351:2aed800aa2e9 353:20f7161399a8
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