Config: Rename HttpCacheTTL to HttpCacheMaxAge #3297

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2023-03-20 20:37:07 +01:00
parent 3dfa6dc4f4
commit f63ac04956
9 changed files with 27 additions and 27 deletions

View File

@@ -60,7 +60,7 @@ func startAction(ctx *cli.Context) error {
{"detach-server", fmt.Sprintf("%t", conf.DetachServer())},
{"http-mode", conf.HttpMode()},
{"http-compression", conf.HttpCompression()},
{"http-cache-ttl", fmt.Sprintf("%d", conf.HttpCacheTTL())},
{"http-cache-maxage", fmt.Sprintf("%d", conf.HttpCacheMaxAge())},
{"http-cache-public", fmt.Sprintf("%t", conf.HttpCachePublic())},
{"http-host", conf.HttpHost()},
{"http-port", fmt.Sprintf("%d", conf.HttpPort())},