diff options
author | Alex Shatov <alexs@att.com> | 2017-09-13 16:22:17 -0400 |
---|---|---|
committer | Alex Shatov <alexs@att.com> | 2017-09-13 16:22:17 -0400 |
commit | 541b5bcdd5add5aec1fa77ae2b6ea79fc8ad6e9d (patch) | |
tree | dddad223074c44f2c4cb87883d32141bc958c366 /etc_upload | |
parent | 42a989a6b9b6388947da6fc273728a24c19fa686 (diff) |
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 <alexs@att.com>
Diffstat (limited to 'etc_upload')
-rw-r--r-- | etc_upload/config.json | 6 |
1 files changed, 4 insertions, 2 deletions
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" } } |