Skip to content

Commit

Permalink
🐛 调大缓存有效期
Browse files Browse the repository at this point in the history
  • Loading branch information
Liloupar committed Oct 29, 2019
1 parent 534abaa commit bc4d370
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class BookSourceService {
@Value("\${qingmo.server.url}")
private lateinit var serviceUrl: String

private val cache = CacheBuilder.newBuilder().expireAfterWrite(30, TimeUnit.MINUTES).build<String, Any>()
private val cache = CacheBuilder.newBuilder().expireAfterWrite(60 * 24, TimeUnit.MINUTES).build<String, Any>()

/**
* 原始书源仓库列表
Expand Down

0 comments on commit bc4d370

Please sign in to comment.