mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 20:47:27 +03:00
dbug: return scry component
WIP this adds the minimal things we have in the scry-state of a peer. Will revisit later on to present (more) information in a different way
This commit is contained in:
parent
ece5393829
commit
80f01d06c5
File diff suppressed because one or more lines are too long
@ -259,20 +259,20 @@ export class Ames extends Component {
|
||||
);
|
||||
|
||||
const summary = (<>
|
||||
{/* <b>snd</b><br/> */}
|
||||
{/* {renderDuct(snd.duct)} */}
|
||||
<b>{scry['scry-path']}</b><br/>
|
||||
{renderDuct(scry['keen-state'].listeners)}
|
||||
<table><tbody>
|
||||
<tr class="inter">
|
||||
<td>id</td>
|
||||
<td>num-fragments</td>
|
||||
<td>num-received</td>
|
||||
<td>next-wake</td>
|
||||
<td>listeners</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{scry['keen-id']}</td>
|
||||
<td>{scry['keen-state']['num-fragments']}</td>
|
||||
<td>{scry['keen-state']['num-received']}</td>
|
||||
<td>{msToDa(scry['keen-state']['next-wake'])}</td>
|
||||
<td>renderDuct(scry['keen-state'].listeners)</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</>);
|
||||
@ -381,6 +381,7 @@ export class Ames extends Component {
|
||||
{backward}
|
||||
{nax}
|
||||
{heeds}
|
||||
{scry}
|
||||
</>);
|
||||
} else {
|
||||
console.log('weird peer', peer);
|
||||
|
Loading…
Reference in New Issue
Block a user