···55extern crate repo_stream;
6677use mimalloc::MiMalloc;
88-98#[global_allocator]
109static GLOBAL: MiMalloc = MiMalloc;
1110···5857 // at this point you might want to fetch the account's signing key
5958 // via the DID from the commit, and then verify the signature.
6059 log::warn!("big's comit ({:?}): {:?}", t0.elapsed(), commit);
6060+6161+ // log::info!("now is good time to check mem usage...");
6262+ // tokio::time::sleep(std::time::Duration::from_secs(15)).await;
61636264 // pop the driver back out to get some code indentation relief
6365 driver
···376376 let maybe_processed = MaybeProcessedBlock::maybe(self.process, data);
377377 mem_size += maybe_processed.len();
378378 chunk.push((cid, maybe_processed));
379379- if mem_size >= self.max_size {
379379+ if mem_size >= (self.max_size / 2) {
380380 // soooooo if we're setting the db cache to max_size and then letting
381381 // multiple chunks in the queue that are >= max_size, then at any time
382382 // we might be using some multiple of max_size?