fix(chore): contentExpire not work

This commit is contained in:
DIYgod
2019-05-13 00:24:48 +08:00
parent aadc66ba31
commit c4cd0ab495
6 changed files with 9 additions and 23 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ Use environment variables is recommended to avoid conflicts during upgrade.
`CACHE_EXPIRE`: route cache expiry time in seconds, default to `5 * 60`
`CACHE_CONTENT_EXPIRE`: content cache expiry time in seconds, default to `24 * 60 * 60`
`CACHE_CONTENT_EXPIRE`: content cache expiry time in seconds, it will be recalculated when it is accessed, default to `1 * 60 * 60`
`LISTEN_INADDR_ANY`: open up for external access, default to `1`
+1 -1
View File
@@ -313,7 +313,7 @@ $ docker run -d --name rsshub -p 1200:1200 rsshub:arm32v7
`CACHE_EXPIRE`: 路由缓存过期时间, 单位为秒, 默认 `5 * 60`
`CACHE_CONTENT_EXPIRE`: 内容缓存过期时间,单位为秒, 默认 `24 * 60 * 60`
`CACHE_CONTENT_EXPIRE`: 内容缓存过期时间,每次访问会重新计算过期时间,单位为秒, 默认 `1 * 60 * 60`
`LISTEN_INADDR_ANY`: 是否允许公网连接, 默认 `1`