Improper use of Raft::metrics()
can block the RaftCore async task and underlying OS thread
#279
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
issues: | |
types: | |
- opened | |
# https://github.com/marketplace/actions/create-or-update-comment | |
jobs: | |
welcome: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: peter-evans/create-or-update-comment@v1 | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
👋 Thanks for opening this issue! | |
Get help or engage by: | |
- `/help` : to print help messages. | |
- `/assignme` : to assign this issue to you. | |
# Another way: actions/github-script | |
# # https://github.com/actions/github-script#comment-on-an-issue | |
# jobs: | |
# welcome: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/github-script@v5 | |
# with: | |
# script: | | |
# github.rest.issues.createComment({ | |
# issue_number: context.issue.number, | |
# owner: context.repo.owner, | |
# repo: context.repo.repo, | |
# body: [ | |
# '👋 Thanks for opening this issue!', | |
# '', | |
# 'Get help or engage by:', | |
# '', | |
# '- `/help` : to print help messages.', | |
# '- `/assignme` : to assign this issue to you.', | |
# ].join('\n') | |
# }) | |