mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix AutoThread
This commit is contained in:
parent
65fcf1e9c2
commit
9e91237655
@ -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.')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user