Skip to content

Commit

Permalink
fix(instance controller): fix req_mem error
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed May 16, 2022
1 parent dd48e3d commit d8c0042
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class KubernetesDriver implements InstanceDriverInterface {
const limit_cpu = app_spec.spec.limit_cpu

const req_cpu = app_spec.spec.request_cpu
const req_memory = ~~(app_spec.spec.limit_memory / MB)
const req_memory = ~~(app_spec.spec.request_memory / MB)

const image_name = app.runtime?.image
const max_old_space_size = ~~(limit_memory * 0.8)
Expand Down

0 comments on commit d8c0042

Please sign in to comment.