diff options
| author | nyx <nnyyxxxx@protonmail.com> | 2025-03-31 12:06:17 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-31 18:06:17 +0200 |
| commit | 2309270752383be30857d9c15cd3e259c4e6ed58 (patch) | |
| tree | b99b1571301427f1affde5bdfc3d62e8c6fd0c5b /src/config/ConfigDescriptions.hpp | |
| parent | 79b526a04199a05d1e9b0bbb035ba20b652a7a2b (diff) | |
anr: add config for ping number before popup shows up (#9782)
* anr: make pings configurable
makes the pings of the dialog popup configurable
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
| -rw-r--r-- | src/config/ConfigDescriptions.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index 3e9563ee..234c3743 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1223,6 +1223,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = { .type = CONFIG_OPTION_BOOL, .data = SConfigOptionDescription::SBoolData{true}, }, + SConfigOptionDescription{ + .value = "misc:anr_missed_pings", + .description = "number of missed pings before showing the ANR dialog", + .type = CONFIG_OPTION_INT, + .data = SConfigOptionDescription::SRangeData{1, 1, 10}, + }, /* * binds: |
