Skip to content

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

nordugrid-arc-bot requested to merge floridop/arc:dev-GDPR-opt into next

Begin arcbot message
This merge request is automatically copied from !1136 (merged) orginally made by @floridop
End arcbot message

## 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

Loading