transform-hub
transform-hub copied to clipboard
LoadCheck doesn't use Config/limits when determining if instance can be run
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
@MichalCz is it finished?