VMware {code} Community
maciej_wos
Contributor
Contributor

WaitForUpdates timed out

Hi,

Anyone encountered this problem:

When I try to execute WaitForUpdates and no updates happen for a while (a minute maybe?) then the operation throws an exception:

SystemError: The operation has timed out

Shouldn't it be a locking call and wait forever?

0 Kudos
2 Replies
hrobinson
VMware Employee
VMware Employee

No, it doesn't wait forever. I've heard 30 minutes (not one). I'll check.

H

0 Kudos
dmhaynes
Enthusiast
Enthusiast

I think it depends upon the socket timeout. I am getting a timeout after 2 minutes which is in line with my socket timeout value.

Obviously, the work around is to put this in a loop and only exit the loop if you get the value you want.

0 Kudos