diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-07-02 20:00:41 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-07-02 20:01:04 +0200 |
commit | d7ada03b8a6d3258f7558f69f916517ddce36ac3 (patch) | |
tree | 49a2a5c8ee8dd643eb2d7e9add220d51f7ccb518 /src/qt/optionsdialog.cpp | |
parent | 3203a0832adf72f4303c7ab1a7a6046a6dd14778 (diff) | |
parent | 47162673c79c757a9c038c4ddc41fb3022223bde (diff) |
Merge pull request #6361
4716267 Use real number of cores for default -par, ignore virtual cores (Wladimir J. van der Laan)
Diffstat (limited to 'src/qt/optionsdialog.cpp')
-rw-r--r-- | src/qt/optionsdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index efb2bf4158..87c727335e 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -42,7 +42,7 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) : /* Main elements init */ ui->databaseCache->setMinimum(nMinDbCache); ui->databaseCache->setMaximum(nMaxDbCache); - ui->threadsScriptVerif->setMinimum(-(int)boost::thread::hardware_concurrency()); + ui->threadsScriptVerif->setMinimum(-GetNumCores()); ui->threadsScriptVerif->setMaximum(MAX_SCRIPTCHECK_THREADS); /* Network elements init */ |