All graph methods operating on objects that may be accessed concurrently by multiple threads have a timeout parameter.
Timeouts are specified in milliseconds to block while waiting to acquire access to one or more resources, or to place an upper limit on execution time if an accompanying limexec parameter is also set to True. If limexec is not specified it always defaults to False.
| Timeout Value | Description | limexec=False | limexec=True |
|---|---|---|---|
>0 |
Upper limit for how long the operation is allowed to execute. |
The timeout deadline is enforced only when waiting to acquire a blocked resource. If the timeout deadline passes while blocked the operation will terminate and raise pyvgx.AccessError. |
Execution elapse time is continually monitored against the timeout deadline. If the timeout deadline is reached the operation will terminate and raise pyvgx.SearchError. |
<0 |
No upper execution limit. |
The operation will never time out. |
The operation will never time out. |
0 |
Operation is required to complete immediately. |
Proceed with the operation only if all required resources can be acquired immediately without blocking. As soon as a blocked resource is encountered the operation will terminate and raise pyvgx.AccessError. |
In general, "very short" operations are permitted while recursive operations are terminated immediately with pyvgx.SearchError. |
