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…
Reference in New Issue