Reset schedule for pre-expansions. Ready for review.

This commit is contained in:
Diederik Muylwyk 2019-09-09 18:44:25 -04:00
parent 7e76c1893f
commit dbe5a36f26
2 changed files with 2 additions and 3 deletions

View File

@ -1829,8 +1829,7 @@ public abstract class BaseHapiTerminologySvcImpl implements IHapiTerminologySvc,
ourLog.info("Done storing TermConceptMap[{}]", termConceptMap.getId()); ourLog.info("Done storing TermConceptMap[{}]", termConceptMap.getId());
} }
// FIXME: DM 2019-09-05 - Return to 600000 before merging into master. @Scheduled(fixedDelay = 600000) // 10 minutes.
@Scheduled(fixedDelay = 6000) // 10 minutes.
@Override @Override
public synchronized void preExpandDeferredValueSetsToTerminologyTables() { public synchronized void preExpandDeferredValueSetsToTerminologyTables() {
if (isNotSafeToPreExpandValueSets()) { if (isNotSafeToPreExpandValueSets()) {

View File

@ -121,7 +121,7 @@ public class HapiTerminologySvcR4 extends BaseHapiTerminologySvcImpl implements
} }
@Override @Override
public List<VersionIndependentConcept> expandValueSet(String theValueSet) {//FIXME: DM COWABUNGA public List<VersionIndependentConcept> expandValueSet(String theValueSet) {
ValueSet vs = myValidationSupport.fetchResource(myContext, ValueSet.class, theValueSet); ValueSet vs = myValidationSupport.fetchResource(myContext, ValueSet.class, theValueSet);
if (vs == null) { if (vs == null) {
super.throwInvalidValueSet(theValueSet); super.throwInvalidValueSet(theValueSet);