added flush policy
This commit is contained in:
parent
fd2b3c3239
commit
2e4b9d3787
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user