mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 10:49:26 +03:00
vere: print db info on restart with -v
This commit is contained in:
parent
14c27540fc
commit
80ff923bb7
@ -20,6 +20,8 @@
|
||||
#include "all.h"
|
||||
#include "vere/vere.h"
|
||||
|
||||
#include <vere/db/lmdb.h>
|
||||
|
||||
#define PIER_READ_BATCH 1000ULL
|
||||
#define PIER_PLAY_BATCH 500ULL
|
||||
#define PIER_WORK_BATCH 10ULL
|
||||
@ -1623,6 +1625,12 @@ u3_pier_stay(c3_w wag_w, u3_noun pax)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ( c3y == u3_Host.ops_u.veb ) {
|
||||
FILE* fil_u = u3_term_io_hija();
|
||||
u3_lmdb_stat(pir_u->log_u->mdb_u, fil_u);
|
||||
u3_term_io_loja(1 );
|
||||
}
|
||||
|
||||
u3z(pax);
|
||||
|
||||
return pir_u;
|
||||
|
Loading…
Reference in New Issue
Block a user