Searched refs:strictness (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dpeer-mgr.c3237 /* if we have >= relaxIfFewerThan, strictness is 100%.
3238 * if we have zero connections, strictness is 0% */
3239 const float strictness = peerCount >= relaxStrictnessIfFewerThanN local
3244 const int limit = hi - ( ( hi - lo ) * strictness );
3246 /*fprintf( stderr, "strictness is %.3f, limit is %d seconds... time since connect is %d, time since piece is %d ... idleTime is %d, doPurge is %d\n", (double)strictness, limit, (int)(now - atom->time), (int)(now - atom->piece_data_time), idleTime, idleTime > limit );*/

Completed in 61 milliseconds