feat(search): log guild.search unchanged at debug on setSearch no-op
Helps diagnose redundant search IPC and cache hits during light view polling without spamming info-level guild.search spans. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -1186,6 +1186,12 @@ class PearcordPlatform extends EventEmitter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.log.debug('guild.search unchanged', {
|
||||||
|
query: this._searchQuery,
|
||||||
|
scope: this._searchScope,
|
||||||
|
includeMesh: this._searchIncludeMesh,
|
||||||
|
cached: !!this._lastSearchFromCache
|
||||||
|
})
|
||||||
return {
|
return {
|
||||||
query: this._searchQuery,
|
query: this._searchQuery,
|
||||||
scope: this._searchScope,
|
scope: this._searchScope,
|
||||||
|
|||||||
Reference in New Issue
Block a user