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

Delay on install.py #75

Closed
dhwz opened this issue Aug 26, 2023 · 1 comment · Fixed by #83
Closed

Delay on install.py #75

dhwz opened this issue Aug 26, 2023 · 1 comment · Fixed by #83

Comments

@dhwz
Copy link

dhwz commented Aug 26, 2023

Hi @glucauze

I've found the root cause of the delay on install.py it's caused by loading the shared module.

from modules import shared

Can we drop this cmdline arg check?

If I remove the Lines 11 to 13 delay drops from 4-5secs to 0.2secs

@dhwz dhwz closed this as completed Aug 26, 2023
@dhwz dhwz reopened this Aug 26, 2023
@glucauze
Copy link
Owner

Could be done, i'll check that when i have time. This would require refactoring the code a bit. Thanks for your feedback

@glucauze glucauze linked a pull request Aug 30, 2023 that will close this issue
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.

2 participants