View | Details | Raw Unified | Return to bug 44222 | Differences between
and this patch

Collapse All | Expand All

(-)a/notifier/nf_generic.py (-1 / +2 lines)
 Lines 53-58   __min_timer = None Link Here 
53
__in_step = False
53
__in_step = False
54
__step_depth = 0
54
__step_depth = 0
55
__step_depth_max = 0
55
__step_depth_max = 0
56
__uint32_max = 2**31 - 1
56
57
57
_options = {
58
_options = {
58
	'recursive_depth' : 10,
59
	'recursive_depth' : 10,
 Lines 206-212   def step( sleep = True, external = True ): Link Here 
206
				nextCall = timestamp - now
207
				nextCall = timestamp - now
207
				if timeout == None or nextCall < timeout:
208
				if timeout == None or nextCall < timeout:
208
					if nextCall > 0:
209
					if nextCall > 0:
209
						timeout = nextCall
210
						timeout = min(nextCall, __uint32_max)
210
					else:
211
					else:
211
						timeout = 0
212
						timeout = 0
212
						break
213
						break

Return to bug 44222