Compare commits

..

No commits in common. "396863a551df87d1ddf78f8f7835d7def93161ac" and "5a823f975cee04651b4340b396a3db183487d003" have entirely different histories.

3 changed files with 1 additions and 9 deletions

View File

@ -30,13 +30,8 @@ class app_config;
class server { class server {
public: public:
explicit server(app_config &config); explicit server(app_config &config);
server(const server &) = delete;
server(server &&) = delete;
auto operator=(const server &) -> server & = delete; virtual ~server() { stop(); }
auto operator=(server &&) -> server & = delete;
virtual ~server();
private: private:
app_config &config_; app_config &config_;

View File

@ -836,7 +836,6 @@ auto s3_provider::read_file_bytes(const std::string &api_path, std::size_t size,
idx < get_config().get_retry_read_count() + 1U; idx < get_config().get_retry_read_count() + 1U;
++idx) { ++idx) {
if (idx > 0U) { if (idx > 0U) {
read_buffer.clear();
std::this_thread::sleep_for(1s); std::this_thread::sleep_for(1s);
} }

View File

@ -34,8 +34,6 @@
namespace repertory { namespace repertory {
server::server(app_config &config) : config_(config) {} server::server(app_config &config) : config_(config) {}
server::~server() { stop(); }
void server::handle_get_config(const httplib::Request & /*req*/, void server::handle_get_config(const httplib::Request & /*req*/,
httplib::Response &res) { httplib::Response &res) {
auto data = config_.get_json(); auto data = config_.get_json();