lib/openwfe/engine/file_persisted_engine.rb in openwferu-0.9.6 vs lib/openwfe/engine/file_persisted_engine.rb in openwferu-0.9.7

- old
+ new

@@ -45,12 +45,17 @@ module OpenWFE # - # An engine persisted to a tree of yaml files + # An engine persisted to a tree of yaml files. # + # 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 FilePersistedEngine < Engine protected # @@ -65,9 +70,14 @@ 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 protected