CLI¶
The firm-channel command operates a pub/sub database. Pass the URL with --database-url or
the FIRM_CHANNEL_DATABASE_URL env var.
Commands¶
stats — number of buffered messages¶
trim — delete old messages and exit¶
Deletes a batch of messages older than the retention window and exits. Useful as a cron job, or if
you run with auto_trim=False.
Tip: set
FIRM_CHANNEL_DATABASE_URLin your environment to omit--database-url.