Зависи както ти трябва. От моята практика само minhits ти е нужен.
Examples:
CACHE MINHITS: 0 # No effect. It will disable the check.
CACHE MINHITS: 1 # At least 1 hit per hour. So after 6 hours (when the task run for the first time) each peer should have at least 6 hits (adding Cache Hits and Instant Hits), after 12 hours (when the task runs for the second time) each peer should have at least 12 hits...
CACHE MINHITS: 10 # At least 10 hits per hour
The calculation is done considering the multics runtime, not the peer connection time which is not carried.
Once a peer is autodisabled for MINHITS or MINREPLIES cannot be reenabled (until you restart multics).
Peers not connecting to multics will be disabled by the task.
You can add an exception to certain peers with the parameter nominhits, for instance:
CACHE PEER: hostname port { nominhits=1 } # exclude this cache peer from disable







Reply With Quote