Skip to content

Commit 580c233

Browse files
committed
readme.MD
1 parent 8efcf3b commit 580c233

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme.MD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ return [
117117
'proklung.notifier' => [
118118
'value' => [
119119
'notifier' => [
120+
// https://symfony.com/doc/current/notifier.html#configuring-channel-policies
121+
'channel_policy' => [
122+
'high' => ['chat'],
123+
'medium' => ['email']
124+
],
120125
'chatter_transports' => [
121126
'telegram' => 'telegram://315114113:AAFjvQlEiaWisZsav_YQfwmhEIIP9PFw3Ss@default?channel=-1001595706876',
122127
],
@@ -159,6 +164,8 @@ return [
159164
];
160165
```
161166

167+
В параметрах поодерживаются и такие штуки, как `'%env(TELEGRAM_DSN)%'` (отсылка к переменной окружения `TELEGRAM_DSN`)
168+
162169
## Кэширование контейнера
163170

164171
Параметр `cache_path` - путь, куда ляжет скомпилированный контейнер. Если не задано, то по умолчанию `/bitrix/cache/s1/proklung.redis`.

0 commit comments

Comments
 (0)