}
$purgeValues[] = $purge;
}
+
return $purgeValues;
}
// Wildcards select all matching routes, e.g. the WAN cluster on all DCs
$ok = $this->cache->set(
"/*/{$this->cluster}/{$key}",
- $this->makePurgeValue( $this->getCurrentTime(), self::HOLDOFF_TTL_NONE ),
+ $this->makePurgeValue( $this->getCurrentTime(), $holdoff ),
$ttl
);
} else {
- // This handles the mcrouter and the single-DC case
+ // Some other proxy handles broadcasting or there is only one datacenter
$ok = $this->cache->set(
$key,
- $this->makePurgeValue( $this->getCurrentTime(), self::HOLDOFF_TTL_NONE ),
+ $this->makePurgeValue( $this->getCurrentTime(), $holdoff ),
$ttl
);
}