Class GlobalOptions
Global configuration options affecting JobFlow's core systems.
public class GlobalOptions
- Inheritance
-
GlobalOptions
Properties
ReponseDataPersistence
Controls when JobFlow should persist Job response data.
public ReponseDataPersistence ReponseDataPersistence { get; set; }
Property Value
Remarks
By default, the response data is only persisted on a Job failure. If the Job reports success, the data is not persisted.
UseDocumentUpdateTransaction
Whether or not to make use of a pessimistic style SQL locking when updating the database. (false by default - see remarks)
public bool UseDocumentUpdateTransaction { get; set; }
Property Value
Remarks
If enabled, the Document Repository will attempt to lock the appropriate row in the Attachment table in the database. This involves creating a transaction and multiple updates to the database.
Alternatively, the document datastore itself may have its own concurrency checks (see the appropriate documentation for the document store plugin). If that is the case, then bypassing the SQL locking could help improve overall performance, depending on the situation.