Units API

See <a href="https://docs.weblate.org/en/weblate-3.6.1/api.html#units">the Weblate's Web API documentation</a> for detailed
description of the API.

GET /api/units/7665994/?format=api
Content-Type: application/json
Vary: Accept

    "translation": "https://l10n.opensuse.org/api/translations/yast-iplb/master/zh_TW/?format=api",
    "source": "

quiescent = yes|no\n

If yes, then when real or failback servers are determined to be down, they are not actually removed from the kernel's LVS table.\nRather, their weight is set to zero which means that no new connections will be accepted.\n

This has the side effect, that if the real server has persistent connections, new connections from any existing clients will continue to be routed to the\nreal server, until the persistant timeout can expire. See ipvsadm for more information on persistant connections.\n

This side-effect can be avoided by running the following:\n

echo 1 > /proc/sys/net/ipv4/vs/expire_quiescent_template\n

If the proc file isn't present this probably means that the kernel doesn't have lvs support, LVS support isn't loaded, or the kernel is too\nold to have the proc file. Running ipvsadm as root should load LVS into the kernel if it is possible.\n

If no, then the real or failback servers will be removed from the kernel's LVS table. The default is yes.\n

If defined in a virtual server section then the global value is overridden.\n

Default: yes\n\n\n\n", "previous_source": "", "target": "

quiescent = yes|no\n

如果為 yes,則當判定真實伺服器或後援伺服器關閉時,不會真正將其從核心的 LVS 表中移除,\n而是會將其權數設定為零,即表示將不接受任何新的連接。\n



echo 1 > /proc/sys/net/ipv4/vs/expire_quiescent_template\n

如果 proc 檔案不存在,則可能意味著核心不提供 lvs 支援、未載入 LVS 支援,或者核心太舊\n未包含 proc 檔案。在可能的情況下,以 root 身分執行 ipvsadm 應該可以將 LVS 載入核心。\n

如果為 no,則會從核心的 LVS 表中移除真實伺服器或錯誤回復伺服器。預設值為 yes。\n


預設值:yes\n\n\n\n", "id_hash": 14899246222540085, "content_hash": 14899246222540085, "location": "src/include/iplb/helps.rb:329", "context": "", "comment": "", "flags": "", "fuzzy": false, "translated": true, "position": 64, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 177, "priority": 100, "id": 7665994, "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/zh_TW/?checksum=8034eec91683fd35", "url": "https://l10n.opensuse.org/api/units/7665994/?format=api", "source_info": "https://l10n.opensuse.org/api/sources/221563/?format=api" }