[GH-ISSUE #140] Only 1 Tweet Posted per Feed Fetch #40
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TheLovinator/discord-twitter-webhooks#40
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EthanC on GitHub (Jul 26, 2023).
Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/140
I noticed a decrease in Tweets sent to my feed webhooks recently, so I used a throwaway account to test my theory. It appears that, upon finding a new, valid Tweet in the feed, the oldest timestamp is set to that Tweet's creation - meaning any further new, valid Tweets made since the last fetch will not be posted.
In logs, I see missed Tweets as
Skipping entry ... as it is older than the oldest tweet we havedespite never being posted.@dziban303 commented on GitHub (Jul 26, 2023):
As a temporary workaround, could we set the update interval to a shorter time period? I've got mine set to 1 minute now.
@EthanC commented on GitHub (Jul 26, 2023):
I've also set it to 1 minute. But it's not much of a workaround, I suspect that this issue is on a per-feed (or even global) basis, not per-user. So if 2 users Tweet in the same minute, only 1 Tweet will get picked up.
@TheLovinator1 commented on GitHub (Jul 27, 2023):
I accidentally got the time for the newest tweet instead of the oldest one, should be fixed now
@EthanC commented on GitHub (Jul 27, 2023):
Confirmed fixed
@EthanC commented on GitHub (Jul 27, 2023):
Hm... this change has (re-?)introduced (#129) the bug where randomly, old tweets will be sent to the webhook.
Note that these 2 accounts are in separate feeds, and the latter has no whitelist. I did not add or edit any feeds around the time these tweets were sent to the webhook. I don't see any errors in logs, although there is a lot of spam for these tweets.
@TheLovinator1 let me know if you'd prefer a new Issue for this.
@TheLovinator1 commented on GitHub (Jul 27, 2023):
Is this the first time TheDavidSwenson or SizePlaystation got sent to Discord? One reason could be because the RSS feeds were empty/broken when they got added? SizePlaystation/rss 404s for me 50% of the time but when it works I can only see 4 tweets and all of them are from 2022 or newer.
Can I just give up instead? That would fix the problem 🙃
@EthanC commented on GitHub (Jul 27, 2023):
Yes, this was the first time these accounts were sent to Discord. They were recent additions to my feeds.
Please don't give up haha, just a few issues to work out and, hopefully, it'll be smooth from there!