Skip to content

Redis cache configuration always got Cache Interval 0 seconds #6730

@dragonandy

Description

@dragonandy
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions