mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
修改rdb批量提交分批的问题
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
package com.alibaba.otter.canal.adapter.launcher.config;
|
||||
|
||||
import org.springframework.cloud.context.refresh.ContextRefresher;
|
||||
import org.springframework.cloud.context.scope.refresh.RefreshScope;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
public class RefresherConfig {
|
||||
|
||||
@Bean
|
||||
public RefreshScope refreshScope() {
|
||||
return new RefreshScope();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ContextRefresher contextRefresher(ConfigurableApplicationContext configurableApplicationContext,
|
||||
RefreshScope refreshScope) {
|
||||
return new ContextRefresher(configurableApplicationContext, refreshScope);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user