added flush policy
This commit is contained in:
		| @@ -41,10 +41,14 @@ | ||||
| #include <sqlite3.h> | ||||
| #endif // defined(PROJECT_ENABLE_SQLITE) | ||||
|  | ||||
| #include "spdlog/spdlog.h" | ||||
|  | ||||
| #include "initialize.hpp" | ||||
|  | ||||
| namespace repertory { | ||||
| auto project_initialize() -> bool { | ||||
|   spdlog::flush_every(std::chrono::seconds(10)); | ||||
|  | ||||
| #if defined(PROJECT_REQUIRE_ALPINE) && !defined(PROJECT_IS_MINGW) | ||||
|   { | ||||
|     static constexpr const auto guard_size{4096U}; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user