mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 21:55:50 +00:00
It is a vocabulary term that shouldn't need the registry to be visible. Extract it to a new header.
21 lines
424 B
C++
21 lines
424 B
C++
// Copyright (C) 2024-present ScyllaDB
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/lowres_clock.hh>
|
|
#include <seastar/util/source_location-compat.hh>
|
|
|
|
#include "seastarx.hh"
|
|
|
|
#include <optional>
|
|
|
|
namespace service {
|
|
|
|
struct raft_timeout {
|
|
seastar::compat::source_location loc = seastar::compat::source_location::current();
|
|
std::optional<lowres_clock::time_point> value;
|
|
};
|
|
|
|
}
|