From 541b5bcdd5add5aec1fa77ae2b6ea79fc8ad6e9d Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Wed, 13 Sep 2017 16:22:17 -0400 Subject: setting the pool-size in requests session * to cache the connections - performance improvement Change-Id: I5a9b3ee30d40dc8d1b8154d5345a00b716e07964 Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov --- etc_upload/config.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'etc_upload/config.json') diff --git a/etc_upload/config.json b/etc_upload/config.json index f394b00..920a9be 100644 --- a/etc_upload/config.json +++ b/etc_upload/config.json @@ -2,7 +2,8 @@ "policy_handler" : { "system" : "policy_handler", "thread_pool_size" : 4, - "scope_prefixes" : ["DCAE_alex.Config_"], + "pool_connections" : 20, + "scope_prefixes" : ["DCAE_alex.Config_", "DCAE.Config_"], "policy_retry_count" : 5, "policy_retry_sleep" : 5, "policy_engine" : { @@ -18,6 +19,7 @@ }, "target_entity" : "policy_engine" }, - "deploy_handler" : "policy_deploy_handler" + "deploy_handler_" : "policy_deploy_handler", + "deploy_handler" : "alex_dh" } } -- cgit 1.2.3-korg