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();
|
mySearchParameterMap = getSearchParameterMap();
|
||||||
mySystemRequestDetails = SystemRequestDetails.forAllPartitions();
|
mySystemRequestDetails = SystemRequestDetails.forAllPartitions();
|
||||||
|
|
||||||
|
myEnabled = true;
|
||||||
IResourceChangeListenerCache resourceCache = myResourceChangeListenerRegistry.registerResourceResourceChangeListener(myResourceName, mySearchParameterMap, this, REFRESH_INTERVAL);
|
IResourceChangeListenerCache resourceCache = myResourceChangeListenerRegistry.registerResourceResourceChangeListener(myResourceName, mySearchParameterMap, this, REFRESH_INTERVAL);
|
||||||
resourceCache.forceRefresh();
|
resourceCache.forceRefresh();
|
||||||
myEnabled = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@PreDestroy
|
@PreDestroy
|
||||||
|
|
Loading…
Reference in New Issue