We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbd4423 commit 86fec5cCopy full SHA for 86fec5c
1 file changed
src/main.cpp
@@ -75,8 +75,10 @@ int main(int argc, char** argv)
75
76
// HACK: Prevent long-running threads from deadlocking the program with only 1 CPU
77
// See https://github.com/keepassxreboot/keepassxc/issues/10391
78
- if (QThreadPool::globalInstance()->maxThreadCount() < 2) {
79
- QThreadPool::globalInstance()->setMaxThreadCount(2);
+ // HACK: increased to a minimum of 3 threads
+ // See https://github.com/keepassxreboot/keepassxc/issues/12909
80
+ if (QThreadPool::globalInstance()->maxThreadCount() < 3) {
81
+ QThreadPool::globalInstance()->setMaxThreadCount(3);
82
}
83
84
QCommandLineParser parser;
0 commit comments