address comments
Signed-off-by: Kai Dubauskas <kai.dubauskas@doordash.com>
This commit is contained in:
@@ -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
|
||||
|
||||
+2
-2
@@ -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;
|
||||
}>;
|
||||
|
||||
Reference in New Issue
Block a user