Jump to content

Manual:$wgCriticalSectionTimeLimit

From mediawiki.org
This page is a translated version of the page Manual:$wgCriticalSectionTimeLimit and the translation is 33% complete.
パフォーマンス ハックと制限: $wgCriticalSectionTimeLimit
The maximum time critical sections are allowed to stay open.
導入されたバージョン:1.36.0 (Gerrit change 654573; git #2697837f)
除去されたバージョン:使用中
許容される値:(小数)
既定値:180.0

詳細

The maximum time critical sections are allowed to stay open. Critical sections are used to defer Excimer request timeouts. If Excimer is available and this time limit is exceeded, an exception will be thrown at the next opportunity, typically after a long-running function like a DB query returns.

Critical sections may wrap long-running queries, and it's generally better for the timeout to be handled a few milliseconds later when the critical section exits, so this should be a large number.

This limit is ignored in command-line mode.