Merge pull request #4138 from urbit/m/debug-quacks

debug: render queued ames acks correctly
This commit is contained in:
fang 2020-12-12 01:10:56 +01:00 committed by GitHub
commit 76de5dec47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -49,11 +49,16 @@ export class Ames extends Component {
const unsent = snd['unsent-messages'].reduce((a, b) => {
return a + b + ' bytes, ';
}, 'unsent msg sizes: ');
const queuedAcks = snd['queued-message-acks'].map(qa => {
const quacks = snd['queued-message-acks'].map(qa => {
return {key: qa['message-num'], jsx: (
qa['message-num'] + ': ' + qa.ack
)};
});
const queuedAcks = (
<SearchableList placeholder="msg num" items={quacks} />
);
const m = snd['packet-pump-state'].metrics;
const pumpMetrics = (<>
<table><tbody>