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/7663618/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://l10n.opensuse.org/api/translations/yast-iplb/master/ca/?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

Si és yes, quan es determina que els servidors reals o de reserva han caigut, no se suprimeixen realment de la taula LVS del kernel.\nSi no, el seu pes s'estableix a zero, cosa que significa que no s'accepten connexions noves.\n

Això té l'efecte col·lateral que si el servidor real té connexions persistents, las connexions noves des de qualsevol dels clients existents continuaran sent encaminades\nal servidor real fins que el temps d'espera de la connexió persistent s'acabi. Vegeu ipvsadm per obtenir informació sobre les connexions persistents.\n

Això es pot evitar executant el següent:\n

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

Si el fitxer proc no existeix, probablement significa que el kernel no té suport per a lvs, que el suport per a LVS no està carregat o que el kernel és massa\nantic per tenir el fitxer proc. Executar ipvsadm com a arrel hauria de carregarLVS al kernel si és possible.\n

Si és no, els servidors reals o de reserva se suprimeixen de la taula LVS del kernel. Per defecte és yes.\n

Si s'ha definit en una secció de servidor virtual, el valor global es passarà per alt.\n

Per defecte: 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": 7663618, "web_url": "https://l10n.opensuse.org/translate/yast-iplb/master/ca/?checksum=8034eec91683fd35", "url": "https://l10n.opensuse.org/api/units/7663618/?format=api", "source_info": "https://l10n.opensuse.org/api/sources/221563/?format=api" }