mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
wip: allow parallel update of feeds
This commit is contained in:
@@ -33,13 +33,17 @@ public class MetricsBean {
|
||||
thisHour.feedsRefreshed++;
|
||||
}
|
||||
|
||||
public void feedUpdated(int entriesCount, int statusesCount) {
|
||||
public void feedUpdated() {
|
||||
thisHour.feedsUpdated++;
|
||||
thisMinute.feedsUpdated++;
|
||||
|
||||
thisHour.entriesInserted += entriesCount;
|
||||
thisMinute.entriesInserted += entriesCount;
|
||||
|
||||
}
|
||||
|
||||
public void entryUpdated(int statusesCount) {
|
||||
|
||||
thisHour.entriesInserted++;
|
||||
thisMinute.entriesInserted++;
|
||||
|
||||
thisHour.statusesInserted += statusesCount;
|
||||
thisMinute.statusesInserted += statusesCount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user