| 102 | } |
| 103 | |
| 104 | void QueryCtx::updateTracedBytesAndCheckLimit(uint64_t bytes) { |
| 105 | if (numTracedBytes_.fetch_add(bytes) + bytes >= |
| 106 | queryConfig_.queryTraceMaxBytes()) { |
| 107 | BOLT_TRACE_LIMIT_EXCEEDED(fmt::format( |
| 108 | "Query exceeded per-query local trace limit of {}", |
| 109 | succinctBytes(queryConfig_.queryTraceMaxBytes()))); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | std::unique_ptr<memory::MemoryReclaimer> QueryCtx::MemoryReclaimer::create( |
| 114 | QueryCtx* queryCtx, |
no test coverage detected