mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-02-04 19:27:33 +01:00
test
This commit is contained in:
parent
0ae89308df
commit
14d18cf8dd
@ -218,9 +218,11 @@ Application::Application(const QString& id, int& argc, char** argv, const QStrin
|
|||||||
auto ideal_th_count = QThread::idealThreadCount();
|
auto ideal_th_count = QThread::idealThreadCount();
|
||||||
|
|
||||||
if (ideal_th_count > 1) {
|
if (ideal_th_count > 1) {
|
||||||
QThreadPool::globalInstance()->setMaxThreadCount((std::min)(128, 2 * ideal_th_count));
|
QThreadPool::globalInstance()->setMaxThreadCount((std::min)(128, 4));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QThreadPool::globalInstance()->setExpiryTimeout(120s);
|
||||||
|
|
||||||
qDebugNN << LOGSEC_CORE << "OpenSSL version:" << QUOTE_W_SPACE_DOT(QSslSocket::sslLibraryVersionString());
|
qDebugNN << LOGSEC_CORE << "OpenSSL version:" << QUOTE_W_SPACE_DOT(QSslSocket::sslLibraryVersionString());
|
||||||
qDebugNN << LOGSEC_CORE << "OpenSSL supported:" << QUOTE_W_SPACE_DOT(QSslSocket::supportsSsl());
|
qDebugNN << LOGSEC_CORE << "OpenSSL supported:" << QUOTE_W_SPACE_DOT(QSslSocket::supportsSsl());
|
||||||
qDebugNN << LOGSEC_CORE << "Global thread pool has"
|
qDebugNN << LOGSEC_CORE << "Global thread pool has"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user