File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
libs/common/include/launchdarkly/config/shared Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ struct StreamingConfig<ClientSDK> {
22
22
template <>
23
23
struct StreamingConfig <ServerSDK> {
24
24
std::chrono::milliseconds initial_reconnect_delay;
25
+ std::string streaming_path;
25
26
};
26
27
27
28
template <typename SDK>
@@ -38,6 +39,8 @@ struct PollingConfig<ClientSDK> {
38
39
template <>
39
40
struct PollingConfig <ServerSDK> {
40
41
std::chrono::seconds poll_interval;
42
+ std::string polling_get_path;
43
+ std::chrono::seconds min_polling_interval;
41
44
};
42
45
43
46
template <typename SDK>
Original file line number Diff line number Diff line change @@ -92,13 +92,13 @@ struct Defaults<ServerSDK> {
92
92
}
93
93
94
94
static auto HttpProperties () -> shared::built::HttpProperties {
95
- return {std::chrono::seconds{2 }, std::chrono::seconds{10 },
95
+ return {std::chrono::seconds{10 }, std::chrono::seconds{10 },
96
96
std::chrono::seconds{10 }, std::chrono::seconds{10 },
97
97
std::map<std::string, std::string>()};
98
98
}
99
99
100
100
static auto StreamingConfig () -> shared::built::StreamingConfig<ServerSDK> {
101
- return {std::chrono::seconds{1 }};
101
+ return {std::chrono::seconds{1 }, " /all " };
102
102
}
103
103
104
104
static auto DataSourceConfig ()
@@ -107,7 +107,8 @@ struct Defaults<ServerSDK> {
107
107
}
108
108
109
109
static auto PollingConfig () -> shared::built::PollingConfig<ServerSDK> {
110
- return {std::chrono::seconds{30 }};
110
+ return {std::chrono::seconds{30 }, " /sdk/latest-all" ,
111
+ std::chrono::seconds{30 }};
111
112
}
112
113
};
113
114
You can’t perform that action at this time.
0 commit comments