@@ -9,5 +9,5 @@ This program expects a binary named "tai" to be in its working directory, which
The gateway emits events to a Redis stream. To trim entries older than 7 days, put something like this in a cronjob:
{{{
-redis-cli -u redis://127.0.0.1:6380/0 XTRIM stream MINID "~" "$(( ($(date +%s) - 7 * 24 * 60 * 60) * 1000 ))-0"
+redis-cli -u redis://127.0.0.1:6380/0 XTRIM messages MINID "~" "$(( ($(date +%s) - 7 * 24 * 60 * 60) * 1000 ))-0"
}}}