NebulaGraph CPP Client  release-3.4
SConfig.h
1 /* Copyright (c) 2020 vesoft inc. All rights reserved.
2  *
3  * This source code is licensed under Apache 2.0 License.
4  */
5 
6 #pragma once
7 
8 #include <cstdint>
9 #include <string>
10 
11 namespace nebula {
12 
13 struct SConfig {
14  // It's as same as FLAGS_conn_timeout_ms in nebula
15  int32_t connTimeoutInMs_{1000};
16  // It's as same as FLAG_meta_client_timeout_ms in nebula
17  int32_t clientTimeoutInMs_{60 * 1000};
18  bool enableSSL_{false};
19  std::string CAPath_;
20 };
21 
22 } // namespace nebula