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

Optimize gateway startup and service update time #2153

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

jvstme
Copy link
Collaborator

@jvstme jvstme commented Dec 27, 2024

Avoid running certbot if the certificate exists.
This greatly reduces the gateway startup time when
many services or entrypoints are being
re-registered. Running certbot can take 3-4
seconds, even if the certificate already exists
and there is nothing to do.

Certificate renewal is not an issue as it is done
by certbot's built-in systemd timer.

#1595

Avoid running certbot if the certificate exists.
This greatly reduces the gateway startup time when
many services or entrypoints are being
re-registered. Running certbot can take 3-4
seconds, even if the certificate already exists
and there is nothing to do.

Certificate renewal is not an issue as it is done
by certbot's built-in systemd timer.
@jvstme jvstme requested a review from un-def December 27, 2024 12:29
@jvstme jvstme merged commit 09cf464 into master Dec 27, 2024
24 checks passed
@jvstme jvstme deleted the issue_1595_optimize_gateway_startup branch December 27, 2024 12:41
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 this pull request may close these issues.

2 participants