Skip to content

Commit

Permalink
Merge pull request #4 from jhartlaub/master-csd
Browse files Browse the repository at this point in the history
REL-257 Update to allow non-global specification off TTL's for cleaning.
  • Loading branch information
markhamstra committed Apr 2, 2014
2 parents 6d9bce4 + 682f0e5 commit d5cc52e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import org.apache.spark.Logging
class MetadataCleaner(cleanerType: MetadataCleanerType.MetadataCleanerType, cleanupFunc: (Long) => Unit) extends Logging {
val name = cleanerType.toString

private val delaySeconds = MetadataCleaner.getDelaySeconds
private val delaySeconds = MetadataCleaner.getDelaySeconds(cleanerType)
private val periodSeconds = math.max(10, delaySeconds / 10)
private val timer = new Timer(name + " cleanup timer", true)

Expand Down

0 comments on commit d5cc52e

Please sign in to comment.