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

Can the build_docs.py cron be started hourly? #320

Closed
JulienPalard opened this issue Oct 24, 2023 · 0 comments · Fixed by #321
Closed

Can the build_docs.py cron be started hourly? #320

JulienPalard opened this issue Oct 24, 2023 · 0 comments · Fixed by #321

Comments

@JulienPalard
Copy link
Member

The build_docs.py script has changed a lot:

  • It no longer rebuilds what's not needed to rebuild.
  • It dies if another builder is running.

So starting it hourly would keep fast-changing doc fresher, while using less CPU than the old "let's rebuild everything everyday" approach.

Technically starting it minutely would work too, but it would flood the logs and it would be started hundreds of times in a row just to git fetch and do nothing (if nothing changed).

Feel like hourly is a good compromise.

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

Successfully merging a pull request may close this issue.

1 participant