Actions
Bug #17481
closedwhen running cf-promises, list-compatible-inputs is ran 8 times
Status:
Released
Priority:
N/A
Assignee:
Category:
Performance and scalability
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
Even thought the logs states that it is cached it is not
0.000170 rudder verbose: Caching result for function 'execresult("${compatible_inputs_cmd} local","${shell_type}")' 0.061626 rudder verbose: execresult ran 'NCF_CACHE_PATH=/var/rudder/cfengine-community/state /bin/sh /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs --capability-file /opt/rudder/etc/agent-capabilities --agent-version 3.15.1 --ncf-path '/var/rudder/ncf' common' successfully 0.000132 rudder verbose: Caching result for function 'execresult("${compatible_inputs_cmd} common","${shell_type}")' 0.046734 rudder verbose: execresult ran 'NCF_CACHE_PATH=/var/rudder/cfengine-community/state /bin/sh /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs --capability-file /opt/rudder/etc/agent-capabilities --agent-version 3.15.1 --ncf-path '/var/rudder/ncf' local' successfully
tested in 6.1 by adding a >> at the begining of the command
Actions