Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: dynamically update maintainer list #20

Closed

Conversation

zhuangqh
Copy link
Member

Signed-off-by: zhuangqh [email protected]

fixes #17

}
})

maintainers = newestMaintainers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we add a lock in this file, do we have to lock the maintainers variable here? @zhuangqh

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The maintainers variable is under reader-writer race. Did you mean to move the lock to

mutex.Lock()
maintainers = newestMaintainers
mutex.Unlock()

@allencloud

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that I misunderstood what you did.

Signed-off-by: zhuangqh <[email protected]>
@allencloud
Copy link
Member

Could you rebase your code to the latest master? @zhuangqh
I think we need your change. After your code change, I wish to reclaim merge rights from all maintainers, and all merging action will be done by PouchRobot.

@zhuangqh zhuangqh closed this Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants