You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/07 19:32:38 UTC
[jira] [Commented] (TC-178) ssl_multicert.config too slow
[ https://issues.apache.org/jira/browse/TC-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15900015#comment-15900015 ]
ASF GitHub Bot commented on TC-178:
-----------------------------------
GitHub user dneuman64 opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/335
[TC-178] Remove an unncessary database query
This was slowing down the `/genfiles/.../ssl_multicert.config` call, especially with a remote postgres cluster.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dneuman64/incubator-trafficcontrol TC-178
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/335.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #335
----
commit 77ef41d0edf1d6e940915b2f6ac224cf1ba1a238
Author: Dave Neuman <ne...@apache.org>
Date: 2017-03-07T19:30:08Z
remove unnecessary database query
----
> ssl_multicert.config too slow
> -----------------------------
>
> Key: TC-178
> URL: https://issues.apache.org/jira/browse/TC-178
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops
> Affects Versions: 2.0.0
> Reporter: David Neuman
> Assignee: David Neuman
> Fix For: 2.0.0, 2.1.0
>
>
> With a remote postgres cluster, the ssl_multicert.config generation is taking too long and causing timeouts in ORT. This seems to be due to an unecessary query inside of a loop in the method that generates the config.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)