410fe27e81c652f163b5e71458e2521d74273a3b
[living-lab-site.git] / cis / cis_lb / config.py
1
2 # CIS URLs
3 CIS_URLS = [ \
4     'http://p2p-next-01.grid.pub.ro:31500/', \
5     'http://p2p-next-02.grid.pub.ro:31500/', \
6     'http://p2p-next-03.grid.pub.ro:31500/', \
7     'http://p2p-next-04.grid.pub.ro:31500/', \
8     'http://p2p-next-05.grid.pub.ro:31500/', \
9     'http://p2p-next-06.grid.pub.ro:31500/', \
10     'http://p2p-next-07.grid.pub.ro:31500/', \
11     'http://p2p-next-08.grid.pub.ro:31500/', \
12     'http://p2p-next-09.grid.pub.ro:31500/', \
13     'http://p2p-next-10.grid.pub.ro:31500/' \
14 ]
15
16 import load_balancer.random_lb
17 LOAD_BALANCER = load_balancer.random_lb.RandomLoadBalancer
18
19 import logger
20
21 LOG_LEVEL = logger.LOG_LEVEL_DEBUG
22
23 # Number of threads which execute load balancing jobs through LBWorker class.
24 JOB_THREADS_COUNT = 5
25 # Number of threads controlled by job which make HTTP requests.
26 # NOTE: Total number of threads is JOB_THREADS_COUNT * HTTP_THREADS_COUNT.
27 HTTP_THREADS_COUNT = 5