lib/grumlin/dummy_transaction.rb in grumlin-0.22.4 vs lib/grumlin/dummy_transaction.rb in grumlin-0.22.5
- old
+ new
@@ -4,10 +4,10 @@
class DummyTransaction < Transaction
attr_reader :uuid
include Console
- def initialize(traversal_start_class, pool: Grumlin.default_pool) # rubocop:disable Lint/MissingSuper, Lint/UnusedMethodArgument
+ def initialize(traversal_start_class, pool: nil) # rubocop:disable Lint/MissingSuper, Lint/UnusedMethodArgument
@traversal_start_class = traversal_start_class
logger.info(self) do
"#{Grumlin.config.provider} does not support transactions. commit and rollback are ignored, data will be saved"
end