Skip to content

Commit

Permalink
refactor: rename redis init method name
Browse files Browse the repository at this point in the history
  • Loading branch information
myoss committed Sep 8, 2020
1 parent 03e388e commit b99fe10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public RedisLockServiceImpl redisLockService(StringRedisTemplate redisTemplate)
}

@EventListener
public void setApplicationContext(ApplicationReadyEvent event) {
public void initRedisConnection(ApplicationReadyEvent event) {
ConfigurableApplicationContext applicationContext = event.getApplicationContext();
Map<String, StringRedisTemplate> stringRedisTemplateMap = applicationContext
.getBeansOfType(StringRedisTemplate.class);
Expand Down

0 comments on commit b99fe10

Please sign in to comment.