User Configurable TTL value for caching in git repo inegration

User Configurable TTL value for caching in git repo inegration
Allowing it to be user configurable would be useful when the repo is inaccessible.


Description:
Private SCM like gitlab as a use case. due to infrastructure issue if the repo is inaccessible then the caching of 5mins which is at the system level would fail upon sync and the tasks mapped to the repo woud fail. If it is user configuratble at the git repo integration setting then incase of downtime the tasks failure could be avoided.

Maybe even additionally a checkbox that is “Continue to use cached version on sync failure”? That would allow the TTL to reduce the number of syncs but also ensure failures that are long lasting won’t affect the runs beyond the TTL.