tweak logging
This commit is contained in:
parent
46be9552e9
commit
f631e922bc
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,8 @@ namespace BirdsiteLive.Pipeline.Processors
|
||||||
.ToList();
|
.ToList();
|
||||||
await ProcessFollowersWithInboxAsync(userWithTweetsToSync.Tweets, followerWtInbox, user);
|
await ProcessFollowersWithInboxAsync(userWithTweetsToSync.Tweets, followerWtInbox, user);
|
||||||
|
|
||||||
_logger.LogInformation("Done sending " + userWithTweetsToSync.Tweets.Length + "tweets for user " + userWithTweetsToSync.User.Acct);
|
_logger.LogInformation("Done sending " + userWithTweetsToSync.Tweets.Length + " tweets for "
|
||||||
|
+ userWithTweetsToSync.Followers.Length + "followers for user " + userWithTweetsToSync.User.Acct);
|
||||||
}, ct);
|
}, ct);
|
||||||
_todo.Add(t);
|
_todo.Add(t);
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,6 @@ namespace BirdsiteLive.Pipeline.Processors.SubTasks
|
||||||
var tweetsToSend = tweets
|
var tweetsToSend = tweets
|
||||||
.OrderBy(x => x.Id)
|
.OrderBy(x => x.Id)
|
||||||
.ToList();
|
.ToList();
|
||||||
_logger.LogInformation("After filtering, there were " + tweetsToSend.Count() + " tweets left to send");
|
|
||||||
|
|
||||||
foreach (var tweet in tweetsToSend)
|
foreach (var tweet in tweetsToSend)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue