Merge pull request #3360

d83f147 DaemonManager: start monerod with '--non-interactive' cli option set (xiphon)
This commit is contained in:
luigi1111 2021-03-30 14:06:05 -04:00
commit 1ee06fb78c
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 2 additions and 1 deletions

View file

@ -398,7 +398,7 @@ Rectangle{
placeholderFontSize: 15
text: persistentSettings.daemonFlags
addressValidation: false
error: text.match(/(^|\s)--(data-dir|bootstrap-daemon-address)/)
error: text.match(/(^|\s)--(data-dir|bootstrap-daemon-address|non-interactive)/)
onEditingFinished: {
if (!daemonFlags.error) {
persistentSettings.daemonFlags = daemonFlags.text;

View file

@ -90,6 +90,7 @@ bool DaemonManager::start(const QString &flags, NetworkType::Type nettype, const
}
arguments << "--check-updates" << "disabled";
arguments << "--non-interactive";
// --max-concurrency based on threads available.
int32_t concurrency = qMax(1, QThread::idealThreadCount() / 2);