diff --git a/cleanup/deleteDeprecated/deleteDeprecated.groovy b/cleanup/deleteDeprecated/deleteDeprecated.groovy index e858e477..fc36193e 100644 --- a/cleanup/deleteDeprecated/deleteDeprecated.groovy +++ b/cleanup/deleteDeprecated/deleteDeprecated.groovy @@ -38,6 +38,8 @@ executions { repositories.delete it // now let's delete if some directories became empty deleteEmptyDirs it.parent + // uncomment next line to enable throttling when deleting artifacts to 1 deletion per 1000ms, change value to slow down further. + // sleep( 1000 ) } } }