VSC triggers getDirSize() function to calculate codeScanProjectBytes for telemetry for Project scans.
Solution
Removing the codeScanProjectBytes calculation for Project-scans: Since the codeScanProjectBytes
parameter is optional and is affecting the performance of CreatePayload. This will help improve the overall performance of the Auto-scans.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
VSC triggers
getDirSize()
function to calculatecodeScanProjectBytes
for telemetry forProject scans
.Solution
Removing the
codeScanProjectBytes
calculation forProject-scans
: Since thecodeScanProjectBytes
parameter is optional and is affecting the performance of CreatePayload. This will help improve the overall performance of the Auto-scans.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.