anr: add config for ping number before popup shows up (#9782)
* anr: make pings configurable makes the pings of the dialog popup configurable
This commit is contained in:
parent
79b526a041
commit
2309270752
4 changed files with 16 additions and 6 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue