examples/engine_template.rb in openwferu-0.9.13 vs examples/engine_template.rb in openwferu-0.9.14
- old
+ new
@@ -199,9 +199,16 @@
# the participant "away" listens for workitems on port 7009 of
# host 'target.host.co.jp', our SocketParticipant will dispatch
# the workitem to it over TCP
+engine.reschedule
+ #
+ # this method has to be called after all the participants have been
+ # added, it looks for temporal expressions (sleep, cron, ...) to
+ # reschedule.
+
+
#
# === joining the engine's scheduler thread
#
# (preventing the Ruby interpreting from prematurely (immediately) exiting)
#