File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
src/main/java/eatda/repository/image Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 22
33import eatda .exception .BusinessErrorCode ;
44import eatda .exception .BusinessException ;
5- import eatda .repository .CacheSetting ;
65import java .io .IOException ;
76import java .time .Duration ;
87import java .util .Set ;
@@ -24,8 +23,7 @@ public class S3ImageRepository {
2423 private static final String DEFAULT_CONTENT_TYPE = "bin" ;
2524 private static final String PATH_DELIMITER = "/" ;
2625 private static final String EXTENSION_DELIMITER = "." ;
27- private static final Duration PRESIGNED_URL_DURATION = CacheSetting .IMAGE .getTimeToLive ()
28- .plus (Duration .ofMinutes (5 ));
26+ private static final Duration PRESIGNED_URL_DURATION = Duration .ofMinutes (30 );
2927
3028 private final S3Client s3Client ;
3129 private final String bucket ;
You can’t perform that action at this time.
0 commit comments