sdk-java
sdk-java copied to clipboard
Query is not picked up by the worker executing local activity for more than a minute
Currently client query calls that "hang" (don't return a result) do that for 60 seconds (max workflow task timeout?) at which point client gets delivered WorkflowServiceException that includes StatusRuntimeException (context deadline exceeded). The client call should instead fail with WorkflowServiceException according to rpcTimeout (default 10s).
Not a proper sdk sample, but https://gist.github.com/tsurdilo/57282199bc8534c3838252f1c4bf58fc shows this (query hangs for 60 seconds while local activity is retrying).
Most likely directly related to #1346 and the structure of the current workflow task execution flow