transform-hub icon indicating copy to clipboard operation
transform-hub copied to clipboard

LoadCheck doesn't use Config/limits when determining if instance can be run

Open patuwwy opened this issue 2 years ago • 1 comments

LoadCheck uses https://github.com/scramjetorg/transform-hub/blob/devel/packages/sth-config/src/config-service.ts#L37-L42 but doesn't read instance requirements.

yup. load-check has hardcoded values(mem free) required to run an instance and doesn't include limits from config / limits

Originally posted by @patuwwy in https://github.com/scramjetorg/transform-hub/issues/521#issuecomment-1143704676

patuwwy avatar Jun 01 '22 14:06 patuwwy