[ 
https://issues.apache.org/jira/browse/GOBBLIN-1084?focusedWorklogId=403183&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-403183
 ]

ASF GitHub Bot logged work on GOBBLIN-1084:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Mar/20 21:19
            Start Date: 13/Mar/20 21:19
    Worklog Time Spent: 10m 
      Work Description: sv2000 commented on pull request #2924: [GOBBLIN-1084] 
Refresh flowgraph when templates are modified
URL: https://github.com/apache/incubator-gobblin/pull/2924#discussion_r392483983
 
 

 ##########
 File path: 
gobblin-service/src/main/java/org/apache/gobblin/service/modules/core/GitFlowGraphMonitor.java
 ##########
 @@ -127,6 +128,14 @@ public boolean shouldPollGit() {
    */
   @Override
   void processGitConfigChanges() throws GitAPIException, IOException {
+    if (flowTemplateCatalog.isPresent() && (flowTemplateCatalog.get() 
instanceof ObservingFSFlowEdgeTemplateCatalog)) {
 
 Review comment:
   We shouldn't be doing this check on every processGitCOnfigChanges() call.  
Can't we just have a method isShouldRefreshFlowGraph() in the parent Catalog 
class that returns false and have this method overriden in the observing 
catalog child class?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 403183)
    Time Spent: 40m  (was: 0.5h)

> Refresh flowgraph when templates are modified
> ---------------------------------------------
>
>                 Key: GOBBLIN-1084
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1084
>             Project: Apache Gobblin
>          Issue Type: Improvement
>            Reporter: Jack Moseley
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to