connections/file/src/main/java/org/keycloak/connections/file/DefaultFileConnectionProviderFactory.java
//private static int commitCount = 0;
private static int commitCount = 0.
private static int commitCount = 0 .
void commit(KeycloakSession session) {
        synchronized (allProviders) {
            if (!allProviders.containsKey(session)) return;
            try {
                writeModelFile(session);
            } finally {
                allProviders.remove(session);
            }
        }
    }
void commit ( KeycloakSession session ) { synchronized ( allProviders ) { if ( ! allProviders . containsKey ( session ) ) return ; try { writeModelFile ( session ) ; } finally { allProviders . remove ( session ) ; } } }
private static int commitCount = 0;
private static int commitCount = 0 ;
//commitCount++; // in case commit was somehow called twice on the same session //logger.info("Removed session " + session.hashCode()); //logger.info("*** commitCount=" + commitCount); //logger.info("commit(): Session count=" + allModels.size()); //     if (commitCount == 16) {Thread.dumpStack();System.exit(0);}