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

ManagedObject.wait_until: replace WaitForUpdates with WaitForUpdatesEx #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

evanchaoli
Copy link
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
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