timeout_config: remove unused make_timeout_config()
it is replaced by the ctor of updateable_timeout_config, so it does not have any callers now. let's drop it. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
This commit is contained in:
@@ -36,7 +36,3 @@ timeout_config updateable_timeout_config::current_values() const {
|
||||
std::chrono::milliseconds(cas_timeout_in_ms),
|
||||
};
|
||||
}
|
||||
|
||||
timeout_config make_timeout_config(const db::config& cfg) {
|
||||
return updateable_timeout_config(cfg).current_values();
|
||||
}
|
||||
|
||||
@@ -55,5 +55,3 @@ struct updateable_timeout_config {
|
||||
using timeout_config_selector = db::timeout_clock::duration (timeout_config::*);
|
||||
|
||||
extern const timeout_config infinite_timeout_config;
|
||||
|
||||
timeout_config make_timeout_config(const db::config& cfg);
|
||||
|
||||
Reference in New Issue
Block a user