mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
32
.github/workflows/stale-bot.yml
vendored
Normal file
32
.github/workflows/stale-bot.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
name: 'Run Stale Bot'
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '30 1 * * *' # daily at 1:30am
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
actions: write
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
close-issues:
|
||||||
|
# only run on main repo, not forks
|
||||||
|
if: github.repository == 'meshcore-dev/MeshCore'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Close Stale Issues
|
||||||
|
uses: actions/stale@v10
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# auto close issues
|
||||||
|
days-before-issue-stale: 60
|
||||||
|
days-before-issue-close: 7
|
||||||
|
exempt-issue-labels: "keep-open"
|
||||||
|
stale-issue-label: "stale"
|
||||||
|
stale-issue-message: "This issue is stale because it has been open for 60 days with no activity. Remove the stale label or add a comment if this issue is still relevant, otherwise this issue will automatically close in 7 days."
|
||||||
|
close-issue-message: "This issue was closed because it has been inactive for 7 days since being marked as stale."
|
||||||
|
# don't auto close prs
|
||||||
|
days-before-pr-stale: -1
|
||||||
|
days-before-pr-close: -1
|
||||||
|
|
||||||
@@ -28,12 +28,25 @@ This document provides an overview of CLI commands that can be sent to MeshCore
|
|||||||
**Usage:**
|
**Usage:**
|
||||||
- `reboot`
|
- `reboot`
|
||||||
|
|
||||||
|
**Note:** No reply is sent.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Power-off the node
|
||||||
|
**Usage:**
|
||||||
|
- `poweroff`, or
|
||||||
|
- `shutdown`
|
||||||
|
|
||||||
|
**Note:** No reply is sent.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Reset the clock and reboot
|
### Reset the clock and reboot
|
||||||
**Usage:**
|
**Usage:**
|
||||||
- `clkreboot`
|
- `clkreboot`
|
||||||
|
|
||||||
|
**Note:** No reply is sent.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Sync the clock with the remote device
|
### Sync the clock with the remote device
|
||||||
@@ -632,10 +645,21 @@ This document provides an overview of CLI commands that can be sent to MeshCore
|
|||||||
**Parameters:**
|
**Parameters:**
|
||||||
- `value`: Maximum flood hop count (0-64) for a packet without a scope (no region set)
|
- `value`: Maximum flood hop count (0-64) for a packet without a scope (no region set)
|
||||||
|
|
||||||
**Default:** `0xFF` - indicates it hasn't been set, will track flood.max until it is.
|
**Default:** `64` - (`0xFF` indicates it hasn't been set, will track flood.max until it is.)
|
||||||
|
|
||||||
**Note:** An alternative to `region denyf *`, setting `flood.max.unscoped` to a lower value such as `3` would allow for local unscoped messages to propagate, while preventing noisy neighbors from flooding a local region.
|
**Note:** An alternative to `region denyf *`, setting `flood.max.unscoped` to a lower value such as `3` would allow for local unscoped messages to propagate, while preventing noisy neighbors from flooding a local region.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
#### Limit the number of hops for an advert flood message
|
||||||
|
**Usage:**
|
||||||
|
- `get flood.max.advert`
|
||||||
|
- `set flood.max.advert <value>`
|
||||||
|
|
||||||
|
**Parameters:**
|
||||||
|
- `value`: Maximum flood hop count (0-64) for an advert packet
|
||||||
|
|
||||||
|
**Default:** `8`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user