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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悶] configTimeout not respected for value specified #414

Closed
techfg opened this issue Mar 27, 2024 · 0 comments 路 Fixed by #419
Closed

[馃悶] configTimeout not respected for value specified #414

techfg opened this issue Mar 27, 2024 · 0 comments 路 Fixed by #419
Labels

Comments

@techfg
Copy link
Collaborator

techfg commented Mar 27, 2024

Describe the bug

When configuring IM, the option configTimeout can be passed which indicates to IM how long to wait for images to load before failing initializing. This can be helpful when lots of alt images are used.

The option is documented to be an integer value in milliseconds with a default of 10,000. However, IM is failing initializing after 1/4 of the time specified for this value.

Reproduction

https://github.com/jamietre/ImageMapster

Steps to reproduce

N/A

Environment Info

N/A

Expected Behavior

N/A

Additional Information

In this commit a change was made to check loaded status every 50 milliseconds, however the amount of times to check before failing was not updated to correspond to 50.

@techfg techfg added the bug label Mar 27, 2024
techfg added a commit to techfg/ImageMapster that referenced this issue Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant