From f79f656ca9d7bb6f96bc4196fdbcd3a691147c77 Mon Sep 17 00:00:00 2001 From: siddharth Date: Mon, 29 Nov 2021 21:13:32 -0500 Subject: state: update ProcessState Remove FeedsProcessing. Use a local variable to track the feeds that are being processed instead in the `main` function. --- state/state.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'state') diff --git a/state/state.go b/state/state.go index b8a48d4..c43071b 100644 --- a/state/state.go +++ b/state/state.go @@ -25,8 +25,6 @@ type ProcessState struct { // caller about the number of entries that are being // downloaded for a feed. FeedResultChan chan FeedResult - // Number of feeds that are being processed. - FeedsProcessing int } func NewProcessState() *ProcessState { -- cgit v1.2.3