Skip to content

Commit 2f75eae

Browse files
committed
fix compactAllOnStart
1 parent 5071961 commit 2f75eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/n1global/acc/CouchDb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ private void compactAllOnStart() {
478478
compact();
479479
cleanupViews();
480480

481-
for (CouchDbDesignDocument d : getDesignDocs()) compactViews(d.getDocId());
481+
for (CouchDbDesignDocument d : getDesignDocs()) compactViews(d.getDocId().substring(d.getDocId().indexOf("/") + 1));
482482
}
483483
}
484484

0 commit comments

Comments
 (0)