]> git.proxmox.com Git - ceph.git/blob - ceph/src/crimson/net/Config.h
bump version to 15.2.11-pve1
[ceph.git] / ceph / src / crimson / net / Config.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 // XXX: a poor man's md_config_t
5 #pragma once
6
7 #include "include/msgr.h"
8 #include <chrono>
9
10 namespace crimson::net {
11
12 using namespace std::literals::chrono_literals;
13
14 constexpr struct simple_md_config_t {
15 uint32_t host_type = CEPH_ENTITY_TYPE_OSD;
16 bool cephx_require_signatures = false;
17 bool cephx_cluster_require_signatures = false;
18 bool cephx_service_require_signatures = false;
19 bool ms_die_on_old_message = true;
20 bool ms_die_on_skipped_message = true;
21 double ms_initial_backoff = .2;
22 double ms_max_backoff = 15.0;
23 std::chrono::milliseconds threadpool_empty_queue_max_wait = 100ms;
24 size_t osd_client_message_size_cap = 500ULL << 20;
25 } conf;
26 }