Skip to content

v2.1.0 Release

Compare
Choose a tag to compare
@halakaraki halakaraki released this 19 Oct 23:00
· 424 commits to master since this release
f3dae0c

Features:
Enable Sticky Workflow Execution by default.
Workflow state will be cached locally until workflow completes or gets evicted.
Cached workflows are limited by number and thread consumption. Ex:

Worker.FactoryOptions options =
new Worker.FactoryOptions.Builder()
.setMaxWorkflowThreadCount(500)
.setCacheMaximumSize(300)
.Build();

Worker.Factory factory = new Worker.Factory(“domain”, options);

Caching can be disabled by setting setDisableStickyExecution to true.

Worker.FactoryOptions options =
new Worker.FactoryOptions.Builder()
.setMaxWorkflowThreadCount(500)
.setDisableStickyExecution(true)
.Build();

Worker.Factory factory = new Worker.Factory(“domain”, options);

Fixes:
Eliminated DestroyWorkflowThreadError ERROR when signal handler is blocked
Thread Leak fix for DeterministicRunner::close