Clean resource which no traffic

This commit is contained in:
lancer.hong
2022-04-24 08:51:22 +08:00
parent 3a13be370b
commit 2bc3330697

View File

@@ -589,7 +589,7 @@ public class FlowStat {
// log.debug("housekeeping done");
/*long currentTimeSlot = stat.currentTimeSlotId();
long currentTimeSlot = stat.currentTimeSlotId();
long startTimeSlot = currentTimeSlot - n;
for (Entry<String, ResourceStat> entry : stat.resourceStats.entrySet()) {
String resource = entry.getKey();
@@ -609,7 +609,7 @@ public class FlowStat {
if (noTraffic) {
stat.resourceStats.remove(resource);
}
}*/
}
try {