Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

ManagedObject.wait_until: replace WaitForUpdates with WaitForUpdatesEx#140

Open
evanchaoli wants to merge 1 commit intovmware-archive:masterfrom
evanchaoli:wait_util
Open

ManagedObject.wait_until: replace WaitForUpdates with WaitForUpdatesEx#140
evanchaoli wants to merge 1 commit intovmware-archive:masterfrom
evanchaoli:wait_util

Conversation

@evanchaoli
Copy link
Copy Markdown
Contributor

WaitForUpdates has been depracted since 4.1, WaitForUpdatesEx is the offical replacement. WaitForUpdatesEx has an option to specify wait timeout. We recently often encounter ReadTimeout error against wait_until because some task took more than 10 minutes to finish, but local HTTP read timeout is 10 minutes. After this fix, we no longer see the error.

…tesEx.

WaitForUpdates has been depracted since 4.1, WaitForUpdatesEx is the
offical replacement. WaitForUpdatesEx has an option to specify wait
timeout. We recently often encounter ReadTimeout error against wait_until
because some task took more than 10 minutes to finish, but local HTTP
read timeout is 10 minutes. After this fix, we no longer see the error.
@jrgarcia
Copy link
Copy Markdown
Contributor

Sorry @evanchaoli! I somehow missed this! I'll get this reviewed and hopefully merged and released sometime next week.

@jrgarcia jrgarcia removed their assignment Apr 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants