mneethiraj commented on code in PR #664:
URL: https://github.com/apache/ranger/pull/664#discussion_r2345093263


##########
tagsync/src/main/java/org/apache/ranger/tagsync/sink/tagadmin/TagAdminRESTSink.java:
##########
@@ -180,6 +180,18 @@ public void run() {
 
                     return;
                 }
+            } else {
+                // Only sleep when HA is enabled, similar to user sync
+                if (TagSyncConfig.getInstance().isTagSyncHAEnabled()) {

Review Comment:
   Is `isTagSyncHAEnabled()` needed here? 
`TagSyncConfig.isTagSyncServiceActive()` at line 146 can return `false` only in 
HA mode.



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

To unsubscribe, e-mail: dev-unsubscr...@ranger.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to