Skip to content

refactoring the relay startup logic#412

Merged
genedna merged 3 commits into
gitmono-dev:mainfrom
wujian0327:main
Jun 4, 2024
Merged

refactoring the relay startup logic#412
genedna merged 3 commits into
gitmono-dev:mainfrom
wujian0327:main

Conversation

@wujian0327

Copy link
Copy Markdown
Contributor

changlogs:

  1. delete relay as a single services
  2. move relay http hander to gateway
  3. add http/https command a new parameter --ztm agent/relay
  4. change relay startup method, when --ztm relay is provide, relay will auto connects ztm
  5. change relay http server to start as a child thread

try:

cargo run --bin mega service http --ztm relay --host 0.0.0.0

result:

image

@vercel

vercel Bot commented Jun 4, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 4, 2024 3:04am

@genedna
genedna added this pull request to the merge queue Jun 4, 2024
Merged via the queue into gitmono-dev:main with commit 6417b8c Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants