We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1277512 commit d99619aCopy full SHA for d99619a
opengrok-web/src/main/java/org/opengrok/web/WebappListener.java
@@ -121,6 +121,14 @@ public void contextInitialized(final ServletContextEvent servletContextEvent) {
121
}
122
123
LOGGER.log(Level.FINE, "Index check for all projects done");
124
+ } else {
125
+ LOGGER.log(Level.FINE, "Checking index");
126
+ try {
127
+ IndexCheck.checkDir(new File(env.getDataRootPath(), IndexDatabase.INDEX_DIR));
128
+ } catch (Exception e) {
129
+ LOGGER.log(Level.SEVERE, "index check failed", e);
130
+ }
131
+ LOGGER.log(Level.FINE, "Index check done");
132
133
134
env.startExpirationTimer();
0 commit comments