Sha256: a6496d8d4ee905f9814ad86de5b7522b897d0900cb7105dc919fde1e0a57a105
Contents?: true
Size: 649 Bytes
Versions: 18
Compression:
Stored size: 649 Bytes
Contents
module Dynflow class SimpleWorld < World def initialize(options_hash = {}) super options_hash at_exit { self.terminate.wait } if options[:auto_terminate] # we can check consistency here because SimpleWorld doesn't expect # remote executor being in place. self.consistency_check self.execute_planned_execution_plans end def default_options super.merge(pool_size: 5, persistence_adapter: PersistenceAdapters::Sequel.new('sqlite:/'), transaction_adapter: TransactionAdapters::None.new, auto_terminate: true) end end end
Version data entries
18 entries across 18 versions & 1 rubygems