Skip to content

Commit

Permalink
Reindexing shouldn't stop unexpectedly
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesagnew committed Jun 13, 2018
1 parent ed0b5f5 commit a46b4a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ private void validateResourceTypeAndThrowIllegalArgumentException(IIdType theId)

@PostConstruct
public void start() {
ourLog.info("Starting resource DAO for type: {}", getResourceName());
ourLog.debug("Starting resource DAO for type: {}", getResourceName());
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public Void doInTransaction(@Nonnull TransactionStatus theStatus) {
@Transactional(propagation = Propagation.NEVER)
public Integer performReindexingPass(final Integer theCount) {
if (!myReindexLock.tryLock()) {
return null;
return -1;
}
try {
return doPerformReindexingPass(theCount);
Expand Down

0 comments on commit a46b4a4

Please sign in to comment.