equal
deleted
inserted
replaced
463 |
463 |
464 } |
464 } |
465 bool |
465 bool |
466 BundleDaemon::add_bundle_to_bpq_cache(Bundle* bundle, bool add_to_store) |
466 BundleDaemon::add_bundle_to_bpq_cache(Bundle* bundle, bool add_to_store) |
467 { |
467 { |
468 //const u_int64_t max_cache_size = 1073741824 * 15; // 15GB |
468 const u_int64_t max_cache_size = 1073741824 * 15; // 15GB |
469 const u_int64_t max_cache_size = 5254027 * 3; |
|
470 |
469 |
471 log_debug_p("/dtn/daemon/bpq","add_bundle_to_bpq_cache: *%p", bundle); |
470 log_debug_p("/dtn/daemon/bpq","add_bundle_to_bpq_cache: *%p", bundle); |
472 |
471 |
473 u_int64_t bundle_size = bundle->payload().length(); |
472 u_int64_t bundle_size = bundle->payload().length(); |
474 u_int64_t cache_size = 0; |
473 u_int64_t cache_size = 0; |