A
A
Arsen Diubua2021-04-09 15:15:00
Squid
Arsen Diubua, 2021-04-09 15:15:00

Squid configuration setting. How to set a time or quantity transition interval between peers?

What tag or setting can be used in the squid.conf configuration to contact each neighboring peer not with every request, but after some time or quantitative interval.

Now, with each request, I switch to a new peer, but I need the peer to change every few minutes or every 10 requests.

acl all src 0.0.0.0/0
http_access allow all
http_port 3128
server_persistent_connections off
cache_peer 45.72.51.207     parent  7775 7 proxy-only round-robin default login=login
cache_peer 23.229.126.58    parent  7587 7 proxy-only round-robin default login=login
cache_peer 23.229.126.136   parent  7665 7 proxy-only round-robin default login=login
cache_peer 45.72.55.94      parent  7131 7 proxy-only round-robin default login=login
cache_peer 45.72.55.30      parent  7067 7 proxy-only round-robin default login=login   

never_direct allow all

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question