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

Ablog isn't safe for parallel reading #297

Closed
liborjelinek opened this issue Oct 29, 2024 · 1 comment · Fixed by #299
Closed

Ablog isn't safe for parallel reading #297

liborjelinek opened this issue Oct 29, 2024 · 1 comment · Fixed by #299

Comments

@liborjelinek
Copy link
Contributor

Describe the bug

It looks Ablog isn't safe for parallel reading (introduced in ad5665a).

But it's safe for parallel writing (4f9ae64).

Both changes are recent (summer this year) and made by @nabobalis :-) What lead you to these changes? :-)

I've add -j auto to sphinx-build (use as many CPU cores as possible) recently and noticed Ablog doesn't detect any single post and all postlists were empty. With -j 1 (use single core, default value) Ablog works again.

It would be nice to fix it, but I am unsure about the reasons. As "workaround" I suggest change to "parallel_read_safe": False, "parallel_write_safe": True.

To Reproduce

No response

Screenshots

No response

System Details

No response

Installation method

No response

@nabobalis
Copy link
Contributor

I just marked it safe since I thought it was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants