package com.qmth.exam.reserve.cache;

import com.qmth.boot.core.cache.service.CustomizeCacheConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 缓存过期时间配置
 */
@Configuration
public class CacheExpireTimeConfig {

    @Bean
    public CustomizeCacheConfiguration customizeCacheConfiguration() {
        return registration -> {
            // registration.setCacheConfig(CacheConstants.XXX, Duration.ofMinutes(5));
        };
    }

}
