From c03ea7e6e8e5913c6efc958c91e4fb6b6cdf58e0 Mon Sep 17 00:00:00 2001 From: Kai Dubauskas Date: Wed, 10 Dec 2025 12:07:03 -0500 Subject: [PATCH] address comments Signed-off-by: Kai Dubauskas --- docs/notifications/processors.md | 2 +- plugins/notifications-backend-module-slack/config.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/notifications/processors.md b/docs/notifications/processors.md index 1e3cc5b5d4..7ae98a528c 100644 --- a/docs/notifications/processors.md +++ b/docs/notifications/processors.md @@ -150,7 +150,7 @@ notifications: - C12345678 username: 'Backstage Bot' # Optional, defaults to the name of the Slack App. concurrencyLimit: 20 # Optional, number of messages allowed per interval. Defaults to 10. - throttleInterval: 1m # Optional, ISO 8601 duration (or ms value). Defaults to 1 minute. + throttleInterval: 1m # Optional, Accepts ISO-8601 duration, ms-style ("1m", "30s"), or HumanDuration ({ minutes: 2 }). Defaults to 1 minute ``` Multiple instances can be added in the `slack` array, allowing you to have multiple configurations if you need to send diff --git a/plugins/notifications-backend-module-slack/config.d.ts b/plugins/notifications-backend-module-slack/config.d.ts index 441a49331c..e5971ec3ff 100644 --- a/plugins/notifications-backend-module-slack/config.d.ts +++ b/plugins/notifications-backend-module-slack/config.d.ts @@ -31,11 +31,11 @@ export interface Config { */ broadcastChannels?: string[]; /** - * Concurrency limit for Slack notifications, defaults to 10 + * Concurrency limit for Slack notifications per backend instance of the notifications plugin, defaults to 10. */ concurrencyLimit?: number; /** - * Throttle duration between Slack notifications, defaults to 1 minute + * Throttle duration between Slack notifications per backend instance of the notifications plugin, defaults to 1 minute. */ throttleInterval?: HumanDuration | string; }>;