ui(admin): fix oom killer setting toggle

This commit is contained in:
Matthew Penner 2023-01-17 11:43:26 -07:00
parent f6cf4a1236
commit 450fba00bc
No known key found for this signature in database
10 changed files with 18 additions and 23 deletions

View file

@ -13,7 +13,7 @@ export interface Values {
io: number;
cpu: number;
threads: string;
oomDisabled: boolean;
oomKiller: boolean;
};
featureLimits: {
@ -43,7 +43,7 @@ export default (id: number, server: Partial<Values>, include: string[] = []): Pr
io: server.limits?.io,
cpu: server.limits?.cpu,
threads: server.limits?.threads,
oom_killer: server.limits?.oomDisabled,
oom_killer: server.limits?.oomKiller,
},
feature_limits: {