<< Click to Display Table of Contents >> RayManageSoft Unified Endpoint Manager > 3.1 u8 > User Guide > Appendix I: Preference Settings for Managed Devices > Alphabetical Listing of Preference Settings for Managed Devices WANSearchCurrency |
Command-line | Registry
This setting is only used if managed devices are configured for peer-to-peer file sharing (AllowPeerToPeer is True).
If peer-to-peer file sharing is enabled, files that are available from a peer managed device will always be downloaded from the peer rather than from the distribution server. This setting specifies how frequently a device will ask if it peers for a file. For example, if a managed device called BOSTON asks its peers for the file MyDownload.txt and WANSearchCurrency is set to 30, the managed device will not reissue a request for MyDownload.txt within 30 seconds of its first request. Instead of requesting the file again, BOSTON would download the file from the closest distribution server.
Avoiding Lock Conditions
The interactions between ParentConnectionWindows, PeerConnectionWindows, and WANSearchCurrency need to be taken into consideration in order to avoid lock conditions. For example, if using the following settings for the settings, a lock condition might occur:
•ParentConnectionWindows allows file downloads between 3 am and 6 am.
•PeerConnectionWindows allows file downloads between 10 am and 12 pm.
•WANSearchCurrency is set to 4 hours.
Under this configuration the peer download agent might:
•Request a file from peers at 12 pm and fail to option it.
•Do nothing until the start of the permitted parent connection time window at 3 am.
At 3 am it will check WANSearchCurrency and then find that it must perform a peer search before downloading the file from a parent managed device, since the time interval since the last conducted peer search is greater than 4. The peer download agent must now wait until the next permitted peer connection time window to request the file.
Values / Range: |
Integer between 1 - 600 |
Default value: |
30 |
Command-line
Tool: |
Peer download agent |
Example: |
-debug -o WANSearchCurrency=100 |
Registry
Installed by: |
Manual configuration |
User setting: |
Not available |
Computer setting: |
[Registry]\ManageSoft\Downloader |
Project Variable
Define as: |
AddRemove |
Reference as: |
$(AddRemove) |