Skip to content

Commit a8a74bb

Browse files
committed
[Enhancement] Add Cmd/Tlm Retention Time to Target Generator
1 parent 02f0108 commit a8a74bb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

openc3/lib/openc3/utilities/cli_generator.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,10 @@ def self.generate_target(args)
478478
VARIABLE #{target_name.downcase}_target_name #{target_name}
479479
480480
TARGET #{target_name} <%= #{target_name.downcase}_target_name %>
481+
# Decom tlm and cmd data in the time-series database is kept forever by default.
482+
# Uncomment to enforce a 30 day retention time. See https://docs.openc3.com/docs/configuration/plugins
483+
# CMD_DECOM_RETAIN_TIME 30d
484+
# TLM_DECOM_RETAIN_TIME 30d
481485
#{interface_line}
482486
MAP_TARGET <%= #{target_name.downcase}_target_name %>
483487
DOC

0 commit comments

Comments
 (0)