Project

General

Profile

Architecture #15864

Updated by Nicolas CHARLES over 4 years ago

When we generate policies, at the end we are moving previous policies to backup folder. This can be really long (if it's on a different mount point, it can take up to a 1/3 of the policy generation time, for instance with 10 000 nodes, it took 1200 seconds) 
 These backup are never used, so we could really speed up things by optionnaly skipping this move 

 # disable the backup of previous policies at the end generation 
 curl -k -H "X-API-Token: xxx"    -X POST 'https://.../rudder/api/latest/settings/rudder_backup_previous_policies' -d "value=false"  

Back