Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis cache configuration always got Cache Interval 0 seconds #6730

Closed
2 of 7 tasks
dragonandy opened this issue Apr 24, 2019 · 0 comments · Fixed by #6861
Closed
2 of 7 tasks

Redis cache configuration always got Cache Interval 0 seconds #6730

dragonandy opened this issue Apr 24, 2019 · 0 comments · Fixed by #6861
Labels
Milestone

Comments

@dragonandy
Copy link

dragonandy commented Apr 24, 2019

  • Gitea version (or commit ref):1.7.6
  • Git version:git version 2.17.1
  • Operating system:Ubuntu 18.04.2 LTS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Cache Interval is always 0 seconds in the localhost:3000/admin/config page when using a redis config. It works fine with ADAPTER = memory,so it may redis related.

[cache]
ADAPTER = redis
INTERVAL = 300
HOST = network=unix,addr=/var/run/redis/redis-server.sock,db=2,pool_size=100,idle_timeout=180

Screenshots

none

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
2 participants