Avoid startup retry loop
This commit is contained in:
parent
190f0ccb22
commit
5b7e6b593b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue