lib/openwfe/engine/file_persisted_engine.rb in openwferu-0.9.11 vs lib/openwfe/engine/file_persisted_engine.rb in openwferu-0.9.12

- old
+ new

@@ -66,20 +66,28 @@ @application_context[:work_directory] = "./work" init_service(S_EXPRESSION_STORAGE, YamlFileExpressionStorage) end + + # + # Uses a file persisted error journal. + # + def build_error_journal () + + init_service(S_ERROR_JOURNAL, YamlErrorJournal) + end end # # An engine with a cache in front of its file persisted expression storage. # # Remember that once you have added the participants to a persisted # engine, you should call its reload method, to reschedule expressions # like 'sleep', 'cron', ... But if you do it before registering the # participants you'll end up with broken processes. # - class CachedFilePersistedEngine < Engine + class CachedFilePersistedEngine < FilePersistedEngine protected def build_expression_storage ()