From c522956254ed54c8a7c159626a3e07b2dbd4c8cd Mon Sep 17 00:00:00 2001 From: ebner Date: Thu, 29 Jun 2017 16:22:24 +0200 Subject: [PATCH 1/3] Add policy for beam ok channel - basically we should keep it forever --- policies/timing.policies | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 policies/timing.policies diff --git a/policies/timing.policies b/policies/timing.policies new file mode 100644 index 0000000..71093f4 --- /dev/null +++ b/policies/timing.policies @@ -0,0 +1,52 @@ +/* Timing data policy */ +/* ======================================== */ + + +/* ------------------------------------------------------------ */ +/* - override settings - */ +/* - - */ +/* - Each default setting will be overridden, when a better - */ +/* - match (exacter match) is made. It is independant of the - */ +/* - sequence in this configuration file. - */ +/* ------------------------------------------------------------ */ + + +/* +Examples for modulo settings: + "modulo":1 1 point every 10 ms (100 Hz) + "modulo":100 1 point every 1 second + "modulo":60000 1 point every 10 minutes + "modulo":3600000 1 point every 1 hour + +Examples for ttl settings: + PT1M 1 minute + PT2H 2 hours + P1D 1 day + P2W 2 weeks + P1M 1 month +*/ + + + + + +{ + "policies": [ +{ + "pattern":":BEAMOK", + "data_reduction":{ + "default":[ + { + "ttl":"P10Y", + "modulo":1 + /* 1 point every 1 hour */ + } + ] + } +} + + + + + ] +} From ce21811039fc105914189df2a177268513ec4f4b Mon Sep 17 00:00:00 2001 From: ebner Date: Thu, 29 Jun 2017 16:27:11 +0200 Subject: [PATCH 2/3] reduced to 20 weeks --- policies/timing.policies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policies/timing.policies b/policies/timing.policies index 71093f4..21bd67c 100644 --- a/policies/timing.policies +++ b/policies/timing.policies @@ -37,7 +37,7 @@ Examples for ttl settings: "data_reduction":{ "default":[ { - "ttl":"P10Y", + "ttl":"P20W", "modulo":1 /* 1 point every 1 hour */ } From 8364f74d1042ac8d68e6366776aa726b44ef603f Mon Sep 17 00:00:00 2001 From: ebner Date: Thu, 29 Jun 2017 16:41:39 +0200 Subject: [PATCH 3/3] remove nonsense =) --- policies/timing.policies | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/policies/timing.policies b/policies/timing.policies index 21bd67c..f33b636 100644 --- a/policies/timing.policies +++ b/policies/timing.policies @@ -1,35 +1,3 @@ -/* Timing data policy */ -/* ======================================== */ - - -/* ------------------------------------------------------------ */ -/* - override settings - */ -/* - - */ -/* - Each default setting will be overridden, when a better - */ -/* - match (exacter match) is made. It is independant of the - */ -/* - sequence in this configuration file. - */ -/* ------------------------------------------------------------ */ - - -/* -Examples for modulo settings: - "modulo":1 1 point every 10 ms (100 Hz) - "modulo":100 1 point every 1 second - "modulo":60000 1 point every 10 minutes - "modulo":3600000 1 point every 1 hour - -Examples for ttl settings: - PT1M 1 minute - PT2H 2 hours - P1D 1 day - P2W 2 weeks - P1M 1 month -*/ - - - - - { "policies": [ {