Avoid startup retry loop

This commit is contained in:
jamesagnew 2020-09-02 19:56:57 -04:00
parent 190f0ccb22
commit 5b7e6b593b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class DaoSearchParamProvider implements ISearchParamProvider {
@Override
public int refreshCache(SearchParamRegistryImpl theSearchParamRegistry, long theRefreshInterval) {
int retVal = 0;
if (myDaoRegistry.getResourceDao("SearchParameter") != null) {
if (myDaoRegistry.getResourceDaoOrNull("SearchParameter") != null) {
retVal = theSearchParamRegistry.doRefresh(theRefreshInterval);
}
return retVal;