Changed db optimization strategy: now perform a full analyze (only after scan if enough changes has been made, and during application startup). Also perform a vacuum if needed during startup. Added an init screen for the web interface since it can take a while to complete
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
@@ -41,6 +42,12 @@ namespace lms::core
|
||||
private:
|
||||
std::string_view _str;
|
||||
};
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& os, const LiteralString& str)
|
||||
{
|
||||
os << str.str();
|
||||
return os;
|
||||
}
|
||||
}
|
||||
|
||||
namespace std
|
||||
|
||||
Reference in New Issue
Block a user