fix subscription module restart bug (#4734)
* fix subscription module restart bug * changelog --------- Co-authored-by: Ken Stevens <ken@smilecdr.com>
This commit is contained in:
parent
b88ccbc7b0
commit
cc9d1b992d
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
type: fix
|
||||
issue: 4734
|
||||
title: "Fixed a regression introduced by 4624 that prevented subscriptions from loading into the in-memory
|
||||
subscription cache on system startup."
|
||||
|
|
@ -64,9 +64,9 @@ public abstract class BaseResourceCacheSynchronizer implements IResourceChangeLi
|
|||
mySearchParameterMap = getSearchParameterMap();
|
||||
mySystemRequestDetails = SystemRequestDetails.forAllPartitions();
|
||||
|
||||
myEnabled = true;
|
||||
IResourceChangeListenerCache resourceCache = myResourceChangeListenerRegistry.registerResourceResourceChangeListener(myResourceName, mySearchParameterMap, this, REFRESH_INTERVAL);
|
||||
resourceCache.forceRefresh();
|
||||
myEnabled = true;
|
||||
}
|
||||
|
||||
@PreDestroy
|
||||
|
|
Loading…
Reference in New Issue