Enforce timeout on VP calls
Motivation
----------
Not all queries to the external VP service have a timeout enforced which can lead to several session issues.

Modification
------------
Include a timeout.


diff --git a/lib/rucio/core/replica.py b/lib/rucio/core/replica.py
index 24e749426..02a609f2e 100644
--- a/lib/rucio/core/replica.py
+++ b/lib/rucio/core/replica.py
@@ -1028,7 +1028,7 @@ def get_multi_cache_prefix(cache_site, filename, logger=logging.log):
     x_caches = REGION.get('CacheSites')
     if x_caches is NO_VALUE:
         try:
-            response = requests.get('{}/serverRanges'.format(vp_endpoint), verify=False)
+            response = requests.get('{}/serverRanges'.format(vp_endpoint), timeout=1, verify=False)
             if response.ok:
                 x_caches = response.json()
                 REGION.set('CacheSites', x_caches)
['lib/rucio/core/replica.py']