Add per channel storage durations
This lets us save images for less time than everything else, since they
are the main driver of queue memory usage.
Change-Id: I677791e20af6aedb0288d09cf5963b4dde30ecce
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/events/event_loop_param_test.h b/aos/events/event_loop_param_test.h
index fe85732..d466a1e 100644
--- a/aos/events/event_loop_param_test.h
+++ b/aos/events/event_loop_param_test.h
@@ -47,6 +47,11 @@
{
"name": "/test2",
"type": "aos.TestMessage"
+ },
+ {
+ "name": "/test3",
+ "type": "aos.TestMessage",
+ "channel_storage_duration": 10000000000
}
]
})config",
@@ -97,6 +102,11 @@
{
"name": "/test2",
"type": "aos.TestMessage"
+ },
+ {
+ "name": "/test3",
+ "type": "aos.TestMessage",
+ "channel_storage_duration": 10000000000
}
]
})config",
@@ -139,6 +149,13 @@
"type": "aos.TestMessage",
"read_method": "PIN",
"num_readers": 10
+ },
+ {
+ "name": "/test3",
+ "type": "aos.TestMessage",
+ "read_method": "PIN",
+ "num_readers": 10,
+ "channel_storage_duration": 10000000000
}
]
})config";