Manual:$wgAntiLockFlags
Appearance
Outdated translations are marked like this.
Este recurso foi removido completamente na versão 1.25.0. |
| Configurações diversas: $wgAntiLockFlags | |
|---|---|
| Flags anti-bloqueio. |
|
| Introduzida na versão: | 1.4.0 |
| Removida na versão: | 1.25.0 (Gerrit change 164115; git #12757b50) |
| Valores permitidos: | (campo de bits - ver abaixo) |
| Valor padrão: | 0 |
| Outras definições: Ordem alfabética | Por função | |
Detalhes
Flags anti-bloqueio. Este é um campo de bits. As constantes estão definidas Defines.php.
- ALF_PRELOAD_LINKS
- Links de pré-carga durante a atualização do link para salvar. (Essa opção não tem efeito desde a versão 1.6.0)
- ALF_PRELOAD_EXISTENCE
- Preload cur_id during replaceLinkHolders. (This option has no effect since 1.5.0)
- ALF_NO_LINK_LOCK
- Don't use locking reads when updating the link table. This is necessary for wikis with a high edit rate for performance reasons, but may cause link table inconsistency. (This option was introduced in 1.5.0)
- ALF_NO_BLOCK_LOCK
- As for ALF_LINK_LOCK, this flag is a necessity for high-traffic wikis. (This option was introduced in 1.5.0 and has no effect since 1.18.0)
Exemplo
To reduce lock contention, at the expense of introducing occasional inconsistencies, set:
$wgAntiLockFlags = ALF_NO_LINK_LOCK | ALF_NO_BLOCK_LOCK;