dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
SystemConfigKeys.hpp
1// SPDX-FileCopyrightText: 2025 Vincent Leroy
2// SPDX-License-Identifier: MIT
3//
4// This file is part of dfx.
5//
6// Licensed under the MIT License. See the LICENSE file in the project root
7// for full license information.
8
9#pragma once
10
12{
13 namespace Runtime
14 {
15 constexpr auto threadPoolSize = "runtime.thread_pool_size";
16 constexpr auto threadMaxNesting = "runtime.thread_max_nesting";
17 } // !namespace Runtime
18
19 namespace Server
20 {
21 constexpr auto enabled = "server.enabled";
22 constexpr auto socketPath = "server.socket_path";
23 constexpr auto permissions = "server.permissions";
24 constexpr auto backlog = "server.backlog";
25
26 namespace Session
27 {
28 constexpr auto inactivityTimeout = "server.session.inactivity_timeout_ms";
29 constexpr auto timeoutAccuracy = "server.session.timeout_accuracy_ms";
30 constexpr auto errMsgBeforeClose = "server.session.error_message_before_close";
31 constexpr auto consecutiveErrMsgBeforeClose = "server.session.consecutive_error_message_before_close";
32 } // !namespace Session
33 } // !namespace Server
34
35 namespace Daemon
36 {
37 constexpr auto killChildrenOnExit = "daemon.kill_children_on_exit";
38
39 namespace Dfx
40 {
41 constexpr auto binPath = "daemon.dfx.bin_path";
42 constexpr auto startTimeout = "daemon.dfx.start_timeout_ms";
43 constexpr auto stopTimeout = "daemon.dfx.stop_timeout_ms";
44 constexpr auto socketTimeout = "daemon.dfx.socket_timeout_ms";
45 constexpr auto socketBasePath = "daemon.dfx.socket_base_path";
46
47 constexpr auto restartMode = "daemon.dfx.restart_policy.mode";
48 constexpr auto restartRetries = "daemon.dfx.restart_policy.max_retries";
49 constexpr auto restartBackoff = "daemon.dfx.restart_policy.backoff_ms";
50 } // !namespace Dfx
51 } // !namespace Daemon
52} // !namespace dfx::Utils::SystemConfigKeys
Definition SystemConfigKeys.hpp:40
Definition SystemConfigKeys.hpp:36
Definition SystemConfigKeys.hpp:14
Definition SystemConfigKeys.hpp:27
Definition SystemConfigKeys.hpp:20
Definition SystemConfigKeys.hpp:12