Changeset 4731 for trunk/module-gbox.c
- Timestamp:
- 02/14/11 16:40:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-gbox.c
r4730 r4731 302 302 gbox->peer.fail_count++; 303 303 printf("gbox: sem wait timed-out, fail_count=%d\n", gbox->peer.fail_count); 304 if (gbox->peer.fail_count >= 5) { 304 #define GBOX_FAIL_COUNT 1 305 if (gbox->peer.fail_count >= GBOX_FAIL_COUNT) { 305 306 gbox->peer.online = 0; 306 printf("gbox: fail_count >= 5, peer is offline\n");307 printf("gbox: fail_count >= %d, peer is offline\n", GBOX_FAIL_COUNT); 307 308 } 308 309 //cs_debug_mask(D_READER, "gbox: sem wait timed-out, fail_count=%d\n", gbox->peer.fail_count);
Note:
See TracChangeset
for help on using the changeset viewer.