Changeset 4941 for trunk/module-stat.c
- Timestamp:
- 04/06/11 14:42:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-stat.c
r4940 r4941 314 314 stat->fail_factor++; 315 315 } 316 //stat->last_received = time(NULL); do not change time, this would prevent reopen 317 //stat->ecm_count = 0; Keep ecm_count! 316 stat->last_received = time(NULL); 317 318 //reduce ecm_count step by step 319 if (stat->ecm_count >= 100) 320 stat->ecm_count = 10; 321 else if (stat->ecm_count >= 10) 322 stat->ecm_count = 1; 323 else if (stat->ecm_count > 0) 324 stat->ecm_count = 0; 318 325 } 319 326 else if (rc == 5) { //timeout
Note:
See TracChangeset
for help on using the changeset viewer.