mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-22 15:52:13 +00:00
21 lines
411 B
C++
21 lines
411 B
C++
// Copyright (C) 2024-present ScyllaDB
|
|
// SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/lowres_clock.hh>
|
|
#include <seastar/util/std-compat.hh>
|
|
|
|
#include "seastarx.hh"
|
|
|
|
#include <optional>
|
|
|
|
namespace service {
|
|
|
|
struct raft_timeout {
|
|
std::source_location loc = std::source_location::current();
|
|
std::optional<lowres_clock::time_point> value;
|
|
};
|
|
|
|
}
|