perf(core): Cache webhooks (#6825)
* refactor: Initial setup * Refactor for clarity * Comments to clarify * More replacements * Simplify with `fullPath` * Fix tests * Implement remaining methods * chore: Fix misresolved conflicts * Simplify syntax * Reduce diff * Minor cleanup * Fix lint * Inject dependency * Improve typings * Remove unused method * Restore method * Add comment * Rename in test * Restore comments * Clean up dynamic webhook handling * Clean up tests * Remove redundant `cache` prefix * fix: Correct `uniquePath` for dynamic webhooks
This commit is contained in:
@@ -245,9 +245,6 @@ export class CacheService {
|
||||
return this.cache;
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete all values from the cache, but leave the cache initialized.
|
||||
*/
|
||||
async reset(): Promise<void> {
|
||||
await this.cache?.store.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user