SUPPORT-8942: Fix
This commit is contained in:
parent
91c9214560
commit
c2c022d261
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ public class EsiaAuthInfoClearShedulerService {
|
|||
@Scheduled(cron = "${esia.token.clear.cron:0 0 */1 * * *}")
|
||||
@SchedulerLock(name = "clearToken")
|
||||
@Transactional
|
||||
public void clear() {
|
||||
public void run() {
|
||||
EsiaAuthInfoStore.removeExpiredRefreshToken();
|
||||
EsiaAuthInfoStore.removeExpiredAccessToken();
|
||||
EsiaAuthInfoStore.removeExpiredState();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue