1、Excel优化

Former-commit-id: d8b305ac5eb9b6dc692d0fe51c287e184278b545
master
王兵 5 years ago
parent cce9e87c61
commit f30536af5a

@ -18,7 +18,7 @@ public class CacheConfig {
@Bean @Bean
public EhCacheCacheManager getCacheManager() { public EhCacheCacheManager getCacheManager() {
net.sf.ehcache.config.Configuration configuration = new net.sf.ehcache.config.Configuration(); net.sf.ehcache.config.Configuration configuration = new net.sf.ehcache.config.Configuration();
configuration.setMaxBytesLocalHeap("100M"); configuration.setMaxBytesLocalHeap("4G");
configuration.updateCheck(false); configuration.updateCheck(false);
configuration.addDiskStore(new DiskStoreConfiguration().path("java.io.tmpdir")); configuration.addDiskStore(new DiskStoreConfiguration().path("java.io.tmpdir"));
CacheManager cacheManager = CacheManager.create(configuration); CacheManager cacheManager = CacheManager.create(configuration);

Loading…
Cancel
Save

Powered by TurnKey Linux.