Skip to content

Commit

Permalink
Rename clapp to zygote
Browse files Browse the repository at this point in the history
  • Loading branch information
evgnomon committed Sep 21, 2024
1 parent 4804d5a commit 376ade5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
8 changes: 4 additions & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ export class MEM {
constructor(config) {
if (!config) {
config = {
MEM_SHARD_1_INTERNAL_HOST: "clapp-mem-shard-1",
MEM_SHARD_2_INTERNAL_HOST: "clapp-mem-shard-2",
MEM_SHARD_3_INTERNAL_HOST: "clapp-mem-shard-3",
MEM_SHARD_1_INTERNAL_HOST: "zygote-mem-shard-1",
MEM_SHARD_2_INTERNAL_HOST: "zygote-mem-shard-2",
MEM_SHARD_3_INTERNAL_HOST: "zygote-mem-shard-3",
MEM_INTERNAL_PORT: 6373,
};
}
Expand Down Expand Up @@ -137,7 +137,7 @@ export class MEM {
if (!process.env.REDIS_NATMAP_DISABLED) {
const execP = util.promisify(exec);
const { stdout: getnetResult } = await execP(
"docker run --rm --network mynet ghcr.io/clusterlean/ark:main getent hosts clapp-mem-shard-1 clapp-mem-shard-2 clapp-mem-shard-3"
"docker run --rm --network mynet ghcr.io/evgnomon/ark:main getent hosts zygote-mem-shard-1 zygote-mem-shard-2 zygote-mem-shard-3"
);
const ipHosts = getnetResult
.split(/\r?\n/)
Expand Down
18 changes: 11 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 376ade5

Please sign in to comment.