userver: userver/storages/clickhouse/options.hpp Source File
Loading...
Searching...
No Matches
options.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <chrono>
7#include <optional>
8
9USERVER_NAMESPACE_BEGIN
10
11namespace storages::clickhouse {
12
27struct CommandControl final {
29 std::chrono::milliseconds execute;
30
31 constexpr explicit CommandControl(std::chrono::milliseconds execute)
33 {}
34};
35
37using OptionalCommandControl = std::optional<CommandControl>;
38
39} // namespace storages::clickhouse
40
41USERVER_NAMESPACE_END