forked from cory/tildefriends
ssb: Attempt to show EBT replication progress in the connections tab, mainly to help track down bugs, which there are.
This commit is contained in:
@ -106,3 +106,13 @@ void tf_ssb_ebt_set_send_clock_pending(tf_ssb_ebt_t* ebt, int pending);
|
||||
** @param debug A JS object populated with the information.
|
||||
*/
|
||||
void tf_ssb_ebt_debug_clock(tf_ssb_ebt_t* ebt, JSContext* context, JSValue debug);
|
||||
|
||||
/**
|
||||
** Get a representation of sync progress.
|
||||
** @param ebt The EBT instance.
|
||||
** @param in_pending Populated with the number of messages remaining to be received.
|
||||
** @param in_total Populated with the total number of messages to receive this session.
|
||||
** @param out_pending Populated with the number of messages remaining to send.
|
||||
** @param out_total Populated with the total number of messages to send this session.
|
||||
*/
|
||||
void tf_ssb_ebt_get_progress(tf_ssb_ebt_t* ebt, int* in_pending, int* in_total, int* out_pending, int* out_total);
|
||||
|
Reference in New Issue
Block a user