Skip to content

Commit

Permalink
Fix code smell (#4299)
Browse files Browse the repository at this point in the history
  • Loading branch information
saberduck authored Oct 19, 2023
1 parent 9ef0874 commit 2c18c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bridge/src/memory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function logMemoryConfiguration() {

function readDockerMemoryLimit() {
return (
readDockerMemoryLimitFrom('/sys/fs/cgroup/memory.max') ||
readDockerMemoryLimitFrom('/sys/fs/cgroup/memory.max') ??
readDockerMemoryLimitFrom('/sys/fs/cgroup/memory.limit_in_bytes')
);
}
Expand Down

0 comments on commit 2c18c31

Please sign in to comment.