added flush policy

This commit is contained in:
Scott E. Graves 2024-07-25 14:43:16 -05:00
parent fd2b3c3239
commit 2e4b9d3787

View File

@ -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};