From: Jorropo Date: Tue, 21 Aug 2018 12:09:53 +0000 (+0200) Subject: Fix AutoThread X-Git-Tag: v1.0.0-beta.12~127 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e91237655dfc2f7e2f03f77bb98992cfdd5c43f;p=oweals%2Fpeertube.git Fix AutoThread --- diff --git a/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts b/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts index 0c2489a9d..882e39453 100644 --- a/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts +++ b/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts @@ -72,10 +72,10 @@ export class CustomConfigValidatorsService { } this.TRANSCODING_THREADS = { - VALIDATORS: [ Validators.required, Validators.min(1) ], + VALIDATORS: [ Validators.required, Validators.min(0) ], MESSAGES: { 'required': this.i18n('Transcoding threads is required.'), - 'min': this.i18n('Transcoding threads must be greater than 1.') + 'min': this.i18n('Transcoding threads must be greater or equal to 0.') } } }