Remove unused lambda parameter

This commit is contained in:
badaix 2020-02-08 16:01:22 +01:00
parent 384e71b7c9
commit 5a3abc31ed
2 changed files with 6 additions and 5 deletions

View file

@ -83,8 +83,9 @@ private:
session_ptr getStreamSession(StreamSession* session) const;
void ProcessRequest(const jsonrpcpp::request_ptr request, jsonrpcpp::entity_ptr& response, jsonrpcpp::notification_ptr& notification) const;
void cleanup();
/// save the server state deferred after 2s without a change to prevent blocking and too much disk io
void saveConfig();
/// Save the server state deferred to prevent blocking and lower disk io
/// @param deferred the delay after the last call to saveConfig
void saveConfig(const std::chrono::milliseconds& deferred = std::chrono::seconds(2));
mutable std::recursive_mutex sessionsMutex_;
mutable std::recursive_mutex clientMutex_;