Skip to content

Patch for minimizing number of forks when calculating DN hashes (Fixes BUGZ-3993)

Florido Paganelli requested to merge floridop/arc:dev-GDPR-opt into master

Patch for minimizing number of forks when calculating DN hashes

Description

This patch minimizes the number of fork calls to sha512sum.

The amount of fork calls to sha512sum was slowing down infoproviders, in this patch the values are stored in memory and not recalculated at every call, for each infoproviders run. The hashes must be recalculated at every CEinfo.pl run.

Edited by Maiken

Merge request reports