X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=cis%2Fcis_lb%2Fconfig.py;h=410fe27e81c652f163b5e71458e2521d74273a3b;hb=141bdb84bf143c29a6c50eef3aee18541d2fc0e4;hp=a1a2c32588270e1321540ad2d46f4217a88d9507;hpb=009e9608b6f61dab87e91cb7a218f8074b8e2785;p=living-lab-site.git diff --git a/cis/cis_lb/config.py b/cis/cis_lb/config.py index a1a2c32..410fe27 100644 --- a/cis/cis_lb/config.py +++ b/cis/cis_lb/config.py @@ -1,4 +1,25 @@ +# CIS URLs +CIS_URLS = [ \ + 'http://p2p-next-01.grid.pub.ro:31500/', \ + 'http://p2p-next-02.grid.pub.ro:31500/', \ + 'http://p2p-next-03.grid.pub.ro:31500/', \ + 'http://p2p-next-04.grid.pub.ro:31500/', \ + 'http://p2p-next-05.grid.pub.ro:31500/', \ + 'http://p2p-next-06.grid.pub.ro:31500/', \ + 'http://p2p-next-07.grid.pub.ro:31500/', \ + 'http://p2p-next-08.grid.pub.ro:31500/', \ + 'http://p2p-next-09.grid.pub.ro:31500/', \ + 'http://p2p-next-10.grid.pub.ro:31500/' \ +] + +import load_balancer.random_lb +LOAD_BALANCER = load_balancer.random_lb.RandomLoadBalancer + +import logger + +LOG_LEVEL = logger.LOG_LEVEL_DEBUG + # Number of threads which execute load balancing jobs through LBWorker class. JOB_THREADS_COUNT = 5 # Number of threads controlled by job which make HTTP requests.