Changeset 36:1498b3c7304c in freeDiameter for freeDiameter/p_expiry.c
- Timestamp:
- Nov 2, 2009, 5:31:36 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/p_expiry.c
r25 r36 36 36 #include "fD.h" 37 37 38 /* Delay for garbage collection of expired threads, in seconds */39 #define GC_TIME 6038 /* Delay for garbage collection of expired peers, in seconds */ 39 #define GC_TIME 120 40 40 41 41 static pthread_t exp_thr; … … 64 64 continue; 65 65 66 if (peer->p_hdr.info.pi_flags. exp == PI_EXP_NONE)67 continue; /* This peer was not supposed to expire, keep it in the list*/66 if (peer->p_hdr.info.pi_flags.persist == PI_PRST_ALWAYS) 67 continue; /* This peer was not supposed to terminate, keep it in the list for debug */ 68 68 69 69 /* Ok, the peer was expired, let's remove it */
Note: See TracChangeset
for help on using the changeset viewer.