feat(platform): log refresh mesh-on cache hit with scope at debug
Emit a dedicated debug line when mesh-enabled refresh reuses cached search results, alongside the generic refresh cache hit log. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -1398,6 +1398,13 @@ class PearcordPlatform extends EventEmitter {
|
||||
count: this._cachedSearchResults.length,
|
||||
includeMesh: this._searchIncludeMesh
|
||||
})
|
||||
if (this._searchIncludeMesh) {
|
||||
this.log.debug('guild.search refresh mesh-on cache hit', {
|
||||
scope,
|
||||
queryLen: String(this._searchQuery || '').length,
|
||||
includeMesh: true
|
||||
})
|
||||
}
|
||||
if (this._lastSearchMeshMeta) {
|
||||
this._lastSearchMeshMeta = {
|
||||
...this._lastSearchMeshMeta,
|
||||
|
||||
Reference in New Issue
Block a user