8000 bug: 程序启动时,admin进程会启动两次 · Issue #158 · eolinker/apinto · GitHub
[go: up one dir, main page]

Skip to content

bug: 程序启动时,admin进程会启动两次 #158

Open

Description

@Mr-TianLang

Current Behavior

每次启动程序的时候,观察到admin进程会启动两次,观察代码,发现一次启动是watch etcd配置触发的admin进程启动,另一次启动是leaderchange时启动admin进程。

Expected Behavior

每次启动程序,admin进程只启动一次

Error Logs

No response

Steps to Reproduce

1.在NewProcessAdmin 方法里 添加 代码 time.sleep(time.Second * 15)
2.使用vscode进行debug启动

Environment

APINTO (0.15.7)
单节点

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0