Skip to content

Commit

Permalink
fix: Docker resource check warning should not cause exit (#581)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivo Yankov <[email protected]>
  • Loading branch information
Ivo-Yankov authored Apr 9, 2024
1 parent 1e62bfe commit f94ada3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/DockerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ export class DockerService implements IService{
this.handleMemoryError(dockerMemory, isMultiNodeMode);
} else {
this.logger.warn(`Your docker memory resources are ${dockerMemory.toFixed(2)}GB, which may cause unstable behaviour. Set to at least ${isMultiNodeMode ? MIN_MEMORY_MULTI_MODE : RECOMMENDED_MEMORY_SINGLE_MODE}GB`, this.serviceName);
return true;
}
return false;
}
Expand Down

0 comments on commit f94ada3

Please sign in to comment.