perf: cache only JSON payload validation functions
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 25 Jan 2024 22:36:49 +0000 (23:36 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 25 Jan 2024 22:36:49 +0000 (23:36 +0100)
commit24d15716245469249b57e5aa790147d703d60a4e
tree99aef8518b240b7c386e6ec48dabb2d922370b3b
parent12e7a07d3136d1f5e49d89afd1139972b620635f
perf: cache only JSON payload validation functions

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
src/charging-station/ocpp/1.6/OCPP16RequestService.ts
src/charging-station/ocpp/1.6/OCPP16ResponseService.ts
src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts
src/charging-station/ocpp/2.0/OCPP20RequestService.ts
src/charging-station/ocpp/2.0/OCPP20ResponseService.ts
src/charging-station/ocpp/OCPPIncomingRequestService.ts
src/charging-station/ocpp/OCPPRequestService.ts
src/charging-station/ocpp/OCPPResponseService.ts