Skip to content

Commit 9694de8

Browse files
committed
primitives - Config - deprecated aggr_throttle
1 parent fc6a405 commit 9694de8

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

docs/config/dev.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ max_channels = 512
44
channels_find_limit = 200
55
wait_time = 500
66

7+
# V4 Deprecated
8+
aggr_throttle = 0
9+
710
events_find_limit = 100
11+
812
msgs_find_limit = 10
913
analytics_find_limit_v5 = 5000
1014
analytics_maxtime_v5 = 20000

docs/config/prod.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ max_channels = 512
44
channels_find_limit = 512
55
wait_time = 40000
66

7+
# V4 Deprecated
8+
aggr_throttle = 0
9+
710
events_find_limit = 100
11+
812
msgs_find_limit = 10
913
analytics_find_limit_v5 = 5000
1014
analytics_maxtime_v5 = 15000

primitives/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pub struct Config {
2626
pub max_channels: u32,
2727
pub channels_find_limit: u32,
2828
pub wait_time: u32,
29+
#[deprecated = "redundant V4 value. No aggregates are needed for V5"]
2930
pub aggr_throttle: u32,
3031
#[deprecated = "For V5 this should probably be part of the Analytics"]
3132
pub events_find_limit: u32,

0 commit comments

Comments
 (0)