You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
"How long to wait while a notification is being sent before giving up.",
99
+
flag:"notifications-dispatch-timeout",
100
+
env:"CODER_NOTIFICATIONS_DISPATCH_TIMEOUT",
101
+
yaml:"dispatchTimeout",
102
+
default:"1m0s",
103
+
value:60000000000,
104
+
annotations:{
105
+
format_duration:"true",
106
+
},
107
+
group:{
108
+
name:"Notifications",
109
+
yaml:"notifications",
110
+
description:"Configure how notifications are processed and delivered.",
111
+
},
112
+
value_source:"default",
113
+
},
114
+
{
115
+
name:"Notifications: Fetch Interval",
116
+
description:"How often to query the database for queued notifications.",
117
+
flag:"notifications-fetch-interval",
118
+
env:"CODER_NOTIFICATIONS_FETCH_INTERVAL",
119
+
yaml:"fetchInterval",
120
+
default:"15s",
121
+
value:15000000000,
122
+
annotations:{
123
+
format_duration:"true",
124
+
},
125
+
group:{
126
+
name:"Notifications",
127
+
yaml:"notifications",
128
+
description:"Configure how notifications are processed and delivered.",
129
+
},
130
+
hidden:true,
131
+
value_source:"default",
132
+
},
133
+
{
134
+
name:"Notifications: Lease Count",
135
+
description:
136
+
"How many notifications a notifier should lease per fetch interval.",
137
+
flag:"notifications-lease-count",
138
+
env:"CODER_NOTIFICATIONS_LEASE_COUNT",
139
+
yaml:"leaseCount",
140
+
default:"20",
141
+
value:20,
142
+
group:{
143
+
name:"Notifications",
144
+
yaml:"notifications",
145
+
description:"Configure how notifications are processed and delivered.",
146
+
},
147
+
hidden:true,
148
+
value_source:"default",
149
+
},
150
+
{
151
+
name:"Notifications: Lease Period",
152
+
description:
153
+
"How long a notifier should lease a message. This is effectively how long a notification is 'owned' by a notifier, and once this period expires it will be available for lease by another notifier. Leasing is important in order for multiple running notifiers to not pick the same messages to deliver concurrently. This lease period will only expire if a notifier shuts down ungracefully; a dispatch of the notification releases the lease.",
154
+
flag:"notifications-lease-period",
155
+
env:"CODER_NOTIFICATIONS_LEASE_PERIOD",
156
+
yaml:"leasePeriod",
157
+
default:"2m0s",
158
+
value:120000000000,
159
+
annotations:{
160
+
format_duration:"true",
161
+
},
162
+
group:{
163
+
name:"Notifications",
164
+
yaml:"notifications",
165
+
description:"Configure how notifications are processed and delivered.",
166
+
},
167
+
hidden:true,
168
+
value_source:"default",
169
+
},
170
+
{
171
+
name:"Notifications: Max Send Attempts",
172
+
description:"The upper limit of attempts to send a notification.",
173
+
flag:"notifications-max-send-attempts",
174
+
env:"CODER_NOTIFICATIONS_MAX_SEND_ATTEMPTS",
175
+
yaml:"maxSendAttempts",
176
+
default:"5",
177
+
value:5,
178
+
group:{
179
+
name:"Notifications",
180
+
yaml:"notifications",
181
+
description:"Configure how notifications are processed and delivered.",
182
+
},
183
+
value_source:"default",
184
+
},
185
+
{
186
+
name:"Notifications: Method",
187
+
description:
188
+
"Which delivery method to use (available options: 'smtp', 'webhook').",
189
+
flag:"notifications-method",
190
+
env:"CODER_NOTIFICATIONS_METHOD",
191
+
yaml:"method",
192
+
default:"smtp",
193
+
value:"smtp",
194
+
group:{
195
+
name:"Notifications",
196
+
yaml:"notifications",
197
+
description:"Configure how notifications are processed and delivered.",
198
+
},
199
+
value_source:"env",
200
+
},
201
+
{
202
+
name:"Notifications: Retry Interval",
203
+
description:"The minimum time between retries.",
204
+
flag:"notifications-retry-interval",
205
+
env:"CODER_NOTIFICATIONS_RETRY_INTERVAL",
206
+
yaml:"retryInterval",
207
+
default:"5m0s",
208
+
value:300000000000,
209
+
annotations:{
210
+
format_duration:"true",
211
+
},
212
+
group:{
213
+
name:"Notifications",
214
+
yaml:"notifications",
215
+
description:"Configure how notifications are processed and delivered.",
216
+
},
217
+
hidden:true,
218
+
value_source:"default",
219
+
},
220
+
{
221
+
name:"Notifications: Store Sync Buffer Size",
222
+
description:
223
+
"The notifications system buffers message updates in memory to ease pressure on the database. This option controls how many updates are kept in memory. The lower this value the lower the change of state inconsistency in a non-graceful shutdown - but it also increases load on the database. It is recommended to keep this option at its default value.",
224
+
flag:"notifications-store-sync-buffer-size",
225
+
env:"CODER_NOTIFICATIONS_STORE_SYNC_BUFFER_SIZE",
226
+
yaml:"storeSyncBufferSize",
227
+
default:"50",
228
+
value:50,
229
+
group:{
230
+
name:"Notifications",
231
+
yaml:"notifications",
232
+
description:"Configure how notifications are processed and delivered.",
233
+
},
234
+
hidden:true,
235
+
value_source:"default",
236
+
},
237
+
{
238
+
name:"Notifications: Store Sync Interval",
239
+
description:
240
+
"The notifications system buffers message updates in memory to ease pressure on the database. This option controls how often it synchronizes its state with the database. The shorter this value the lower the change of state inconsistency in a non-graceful shutdown - but it also increases load on the database. It is recommended to keep this option at its default value.",
241
+
flag:"notifications-store-sync-interval",
242
+
env:"CODER_NOTIFICATIONS_STORE_SYNC_INTERVAL",
243
+
yaml:"storeSyncInterval",
244
+
default:"2s",
245
+
value:2000000000,
246
+
annotations:{
247
+
format_duration:"true",
248
+
},
249
+
group:{
250
+
name:"Notifications",
251
+
yaml:"notifications",
252
+
description:"Configure how notifications are processed and delivered.",