tweak checkpointing of twitter fetches 2

This commit is contained in:
Vincent Cloutier 2023-03-17 22:02:34 -04:00
parent 66e2ba9b06
commit 71dfe4b019

View file

@ -61,9 +61,6 @@ namespace BirdsiteLive.Pipeline.Processors.SubTasks
{
userWtData.Tweets = tweets;
usersWtTweets.Add(userWtData);
}
else if (tweets.Length > 0)
{
var tweetId = tweets.Last().Id;
await _twitterUserDal.UpdateTwitterUserAsync(user.Id, tweetId, tweetId, user.FetchingErrorCount, now);
}