+25
@@ -3249,6 +3249,31 @@ export function ChannelMutateDrawer({
|
||||
</FormItem>
|
||||
)}
|
||||
/>
|
||||
|
||||
<FormField
|
||||
control={form.control}
|
||||
name='disable_task_polling_sleep'
|
||||
render={({ field }) => (
|
||||
<FormItem className='flex items-center justify-between px-4 py-3'>
|
||||
<div className='space-y-0.5'>
|
||||
<FormLabel>
|
||||
{t('Skip async task polling delay')}
|
||||
</FormLabel>
|
||||
<FormDescription>
|
||||
{t(
|
||||
'Do not wait one second between polling async tasks for this channel'
|
||||
)}
|
||||
</FormDescription>
|
||||
</div>
|
||||
<FormControl>
|
||||
<Switch
|
||||
checked={field.value}
|
||||
onCheckedChange={field.onChange}
|
||||
/>
|
||||
</FormControl>
|
||||
</FormItem>
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<FormField
|
||||
|
||||
Reference in New Issue
Block a user