mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-03-09 14:33:32 +00:00
Prefetch subscriptions on app startup
This commit is contained in:
parent
bbe4de2842
commit
f8c03a3c37
@ -351,6 +351,7 @@ public abstract class BaseSubscriptionInterceptor<S extends IBaseResource> exten
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
@Scheduled(fixedDelay = 60000)
|
||||
@PostConstruct
|
||||
public void initSubscriptions() {
|
||||
if (!myInitSubscriptionsSemaphore.tryAcquire()) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user