Changeset 2277 for pykota/trunk/pykota/accounters/snmp.py
- Timestamp:
- 06/03/05 10:49:34 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/snmp.py
r2205 r2277 23 23 # 24 24 25 ITERATIONDELAY = 1. 0 # 1Second25 ITERATIONDELAY = 1.5 # 1.5 Second 26 26 STABILIZATIONDELAY = 3 # We must read three times the same value to consider it to be stable 27 27 … … 159 159 if idle_flag : 160 160 idle_num += 1 161 if idle_num > STABILIZATIONDELAY :161 if idle_num >= STABILIZATIONDELAY : 162 162 # printer status is stable, we can exit 163 163 break