*ensure we only cache if the method has it enabled

This commit is contained in:
Derrick Hammer 2022-08-28 23:01:17 -04:00
parent e1e90957cf
commit bd6c791675
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export class RPCServer {
cachedRequest = this.getCachedRequest(request);
if (!cachedRequest && !isStream) {
if (!cachedRequest && !isStream && method.cacheable) {
this.cacheRequest(request, result);
}