- Timestamp:
- 10 Feb 2015, 14:27:44 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/testing.py
r10463 r12582 441 441 status = COMPLETED 442 442 result = None 443 acts_under_heavy_load = False # set to True to mimic system high load 443 444 444 445 def __init__(self, *args, **kw): … … 460 461 461 462 def put(self, job): 463 if getattr(job, 'acts_under_heavy_load', False): 464 return None 462 465 num = str(self._curr_num) 463 466 self._jobs[num] = job
Note: See TracChangeset for help on using the changeset viewer.