[ 
https://issues.apache.org/jira/browse/TC-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923437#comment-15923437
 ] 

ASF GitHub Bot commented on TC-178:
-----------------------------------

GitHub user dneuman64 opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/357

    [TC-178] Remove an unncessary database query

    This was slowing down the /genfiles/.../ssl_multicert.config call, 
especially with a remote postgres cluster.
    
    This fixes [TC-178](https://issues.apache.org/jira/browse/TC-178)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dneuman64/incubator-trafficcontrol 
TC-178-again

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/357.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 #357
    
----
commit a83d109a033f9a9d295765c46ba86e2aa0603bbc
Author: Dave Neuman <[email protected]>
Date:   2017-03-14T02:25:07Z

    remove unnecessary query from loop

----


> 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)

Reply via email to