Gitea and two Memcached servers #6511

Closed
opened 2025-11-02 06:58:09 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @somera on GitHub (Dec 12, 2020).

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

Description

On https://docs.gitea.io/en-us/config-cheat-sheet/#cache-cache is an example with two memcached servers. I configured two memcached servers.

[cache]
ENABLED = true
ADAPTER = memcache
HOST = 192.168.178.32:11211;192.168.178.34:11211
ITEM_TTL = 16h

Both are available. Bot only one will be used.

Screenshots

image

Originally created by @somera on GitHub (Dec 12, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.0 - Git version: git version 2.25.1 - Operating system: Ubuntu 20.4.1 <!-- Please include information on whether you built gitea yourself, used one of our downloads or are using some other package --> <!-- Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. ---> <!-- If you are using a package or systemd tell us what distribution you are using --> - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - Log gist: <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> ## Description On https://docs.gitea.io/en-us/config-cheat-sheet/#cache-cache is an example with two memcached servers. I configured two memcached servers. ``` [cache] ENABLED = true ADAPTER = memcache HOST = 192.168.178.32:11211;192.168.178.34:11211 ITEM_TTL = 16h ``` Both are available. Bot only one will be used. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** --> ![image](https://user-images.githubusercontent.com/8334250/101992731-9e72c180-3cb5-11eb-93cd-51609cb1ecb9.png)
GiteaMirror added the type/bug label 2025-11-02 06:58:09 -06:00
Author
Owner

@somera commented on GitHub (Apr 21, 2022):

Not needed. Should work with https://github.com/memcached/memcached/wiki/Proxy

@somera commented on GitHub (Apr 21, 2022): Not needed. Should work with https://github.com/memcached/memcached/wiki/Proxy
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6511