Skip to content

Commit d7c60d5

Browse files
committed
调整S3存储的刷新间隔时间,从每6小时改为每24小时,以统一与其他数据源的刷新策略。
1 parent 4150df0 commit d7c60d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/preloader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func (p *Preloader) shouldPeriodicRefresh(dataSource *model.DataSource) bool {
300300
case "lankong":
301301
refreshInterval = 24 * time.Hour // 兰空图床每24小时刷新一次
302302
case "s3":
303-
refreshInterval = 6 * time.Hour // S3存储每6小时刷新一次
303+
refreshInterval = 24 * time.Hour // S3存储每24小时刷新一次
304304
default:
305305
return false
306306
}

0 commit comments

Comments
 (0)