Http now can consume ThreadPool for async requests.

Minor clean up.
This commit is contained in:
Martín Lucas Golini
2024-02-02 10:53:15 -03:00
parent d56406a3a2
commit 7da6093507
6 changed files with 52 additions and 27 deletions

View File

@@ -3341,6 +3341,7 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
const std::string& css, bool health, const std::string& healthLang,
FeaturesHealth::OutputFormat healthFormat, const std::string& fileToOpen,
bool stdOutLogs, bool disableFileLogs, bool openClean, bool portable ) {
Http::setThreadPool( mThreadPool );
DisplayManager* displayManager = Engine::instance()->getDisplayManager();
Display* currentDisplay = displayManager->getDisplayIndex( 0 );
mPortableMode = portable;