Skip to content

Commit

Permalink
feat: change cpu limit (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
jumana-s authored Apr 11, 2022
1 parent 866a7c8 commit bdf857c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FormGroup, AbstractControl, Validators, ValidatorFn, ControlContainer,
import {TranslateService} from "@ngx-translate/core";

const MAX_FOR_GPU: ReadonlyMap<number, MaxResourceSpec> = new Map([
[0, {cpu: 15, ram: 48, cpulimit: 15, ramlimit: 48}],
[0, {cpu: 14, ram: 48, cpulimit: 14, ramlimit: 48}],
[1, {cpu: 4, ram: 96, cpulimit: 4, ramlimit: 96}]
]);
type MaxResourceSpec = {cpu: number; ram: number, cpulimit: number, ramlimit: number};
Expand Down

0 comments on commit bdf857c

Please sign in to comment.