- Fix persistence issue by converting ChangeTrackingDictionary to a standard dictionary in BackgroundActivityInvoker.
- Adjust lock acquisition timeout in `appsettings.json` for improved distributed locking behavior. - Remove unused Oracle setup and volume configurations from `docker-compose.yml`.
This commit is contained in:
parent
c549f49dfb
commit
c019cfa3da
|
|
@ -45,7 +45,6 @@
|
|||
- "5500:5500"
|
||||
volumes:
|
||||
- ./data/oracle-data:/opt/oracle/oradata
|
||||
- ./setup/oracle-setup:/opt/oracle/scripts/setup
|
||||
|
||||
mongodb:
|
||||
image: mongo:latest
|
||||
|
|
@ -158,7 +157,6 @@
|
|||
volumes:
|
||||
sqlserver_data:
|
||||
postgres-data:
|
||||
oracle-data-free1:
|
||||
mysql_data2:
|
||||
cockroachdb-data:
|
||||
mongodb_data:
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@
|
|||
"Runtime": {
|
||||
"DistributedLocking": {
|
||||
"Provider": "File",
|
||||
"LockAcquisitionTimeout": "00:00:10"
|
||||
"LockAcquisitionTimeout": "00:10:00"
|
||||
},
|
||||
"DistributedLockProvider": "File",
|
||||
"WorkflowDispatcher": {
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ public class BackgroundActivityInvoker(
|
|||
[inputKey] = outputValues,
|
||||
[journalDataKey] = activityExecutionContext.JournalData,
|
||||
[bookmarksKey] = activityExecutionContext.Bookmarks.ToList(),
|
||||
[propsKey] = activityExecutionContext.Properties
|
||||
[propsKey] = activityExecutionContext.Properties.ToDictionary() // ChangeTrackingDictionary is not persistable, so we need to create a copy of the dictionary.
|
||||
};
|
||||
|
||||
if (outcomes != null) bookmarkProps[outcomesKey] = outcomes;
|
||||
|
|
|
|||
Loading…
Reference in a new issue