mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-06-24 06:14:20 -04:00
optimizations
This commit is contained in:
parent
8335e36876
commit
b7f7258c70
7 changed files with 93 additions and 51 deletions
|
@ -69,12 +69,23 @@ class _DeveloperPageState extends State<DeveloperPage> {
|
|||
}
|
||||
|
||||
Future<void> _sendDebugCommand(String debugCommand) async {
|
||||
if (debugCommand == 'pool allocations') {
|
||||
DHTRecordPool.instance.debugPrintAllocations();
|
||||
return;
|
||||
}
|
||||
|
||||
if (debugCommand == 'pool opened') {
|
||||
DHTRecordPool.instance.debugPrintOpened();
|
||||
return;
|
||||
}
|
||||
|
||||
if (debugCommand == 'ellet') {
|
||||
setState(() {
|
||||
_showEllet = !_showEllet;
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
_debugOut('DEBUG >>>\n$debugCommand\n');
|
||||
try {
|
||||
final out = await Veilid.instance.debug(debugCommand);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue