archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/archiva/repository/base/ArchivaRepositoryRegistry.java
/*
     * The <code>ignoreConfigEvents</code> works only for synchronized configuration events.
     * If the configuration throws async events, we cannot know, if the event is caused by this instance or another thread.
     */
The ignoreConfigEvents works only for synchronized configuration events.
If the configuration throws async events, we cannot know, if the event is caused by this instance or another thread.
The ignoreConfigEvents works only for synchronized configuration events . If the configuration throws async events we cannot know if the event is caused by this instance or another thread .
private void saveConfiguration(Configuration configuration) throws IndeterminateConfigurationException, RegistryException {
        ignoreConfigEvents = true;
        try {
            getArchivaConfiguration().save(configuration);
        } finally {
            ignoreConfigEvents = false;
        }
    }
private void saveConfiguration ( Configuration configuration ) throws IndeterminateConfigurationException , RegistryException { ignoreConfigEvents = true ; try { getArchivaConfiguration ( ) . save ( configuration ) ; } finally { ignoreConfigEvents = false ; } }
The <code>ignoreConfigEvents</code> works only for synchronized configuration events.
The <code > ignoreConfigEvents< / code > works only for synchronized configuration events .