Disable doc cache temporarily for pre-RC stabilization

This commit is contained in:
Pedro J. Estébanez 2023-06-23 16:38:00 +02:00
parent ada712e06a
commit 7afb9dd275
1 changed files with 3 additions and 0 deletions

View File

@ -2309,6 +2309,9 @@ void EditorHelp::_gen_doc_thread(void *p_udata) {
static bool doc_gen_use_threads = true; static bool doc_gen_use_threads = true;
void EditorHelp::generate_doc(bool p_use_cache) { void EditorHelp::generate_doc(bool p_use_cache) {
// Temporarily disable use of cache for pre-RC stabilization.
p_use_cache = false;
OS::get_singleton()->benchmark_begin_measure("EditorHelp::generate_doc"); OS::get_singleton()->benchmark_begin_measure("EditorHelp::generate_doc");
if (doc_gen_use_threads) { if (doc_gen_use_threads) {
// In case not the first attempt. // In case not the first attempt.