Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posts are not in the correct order #157

Open
sepehrbrj opened this issue Sep 7, 2022 · 3 comments
Open

Posts are not in the correct order #157

sepehrbrj opened this issue Sep 7, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@sepehrbrj
Copy link

sepehrbrj commented Sep 7, 2022

Describe the bug
Posts are not in the correct order as in the source feed.

Screenshots

Feed posts:
Screenshot_20220907-150047_1

Bot posts:
Screenshot_20220907-145940_1

@Rongronggg9
Copy link
Owner

Rongronggg9 commented Sep 8, 2022

This is not a bug.
Given that the bot is asynchronous and performance-optimized, each new post within each updated feed creates a "task", then all tasks are handled asynchronously (or, to make it easier, concurrently). Asynchronous means that the order of tasks to finish is uncertain. Also, all tasks are context-free, so they themselves can never know whether other ones are finished or not.

@sepehrbrj
Copy link
Author

At first, I also thought this issue was inevitable, but some other bots don't have this issue.

I don't know about the RSStT bot function and just reported the issue.
If this issue is fixed, it'd great. If not, no problem.

@Rongronggg9
Copy link
Owner

I will have this issue kept open. If someday the "sending post" tasks are contextual, it is possible to send posts in order. But before that, #122 needs to be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants