commit e9ce8d0d67dce7a3a669d252f8f24deb8122347c
parent 9003870b4fae2da0355ff48237abb780d4abac2d
Author: William Casarin <jb55@jb55.com>
Date: Mon, 28 Aug 2023 07:32:02 -0700
debug: turn off noisy debugs for now
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nostrdb.c b/nostrdb.c
@@ -322,7 +322,7 @@ static void *ndb_lookup_tsid(struct ndb *ndb, enum ndb_dbs ind,
}
if (!ndb_get_tsid(txn, &ndb->lmdb, ind, pk, &k)) {
- ndb_debug("ndb_get_profile_by_pubkey: ndb_get_tsid failed\n");
+ //ndb_debug("ndb_get_profile_by_pubkey: ndb_get_tsid failed\n");
goto cleanup;
}
@@ -696,7 +696,7 @@ static void *ndb_writer_thread(void *data)
while (!done) {
txn = NULL;
popped = prot_queue_pop_all(&writer->inbox, msgs, THREAD_QUEUE_BATCH);
- ndb_debug("writer popped %d items\n", popped);
+ //ndb_debug("writer popped %d items\n", popped);
any_note = 0;
for (i = 0 ; i < popped; i++) {
@@ -783,7 +783,7 @@ static void *ndb_ingester_thread(void *data)
any_event = 0;
popped = prot_queue_pop_all(&thread->inbox, msgs, THREAD_QUEUE_BATCH);
- ndb_debug("ingester popped %d items\n", popped);
+ //ndb_debug("ingester popped %d items\n", popped);
for (i = 0; i < popped; i++) {
msg = &msgs[i];