Permalink
Browse files

Don't use explicit transactions

  • Loading branch information...
1 parent ad06ead commit e7daa08bf4165ca497475cfd82f654415273b145 @bbrowning bbrowning committed Oct 31, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 apps/rails3/kitchen-sink/app/services/a_service.rb
@@ -12,9 +12,7 @@ def stop
def run
until @done
# puts "AService: calling AModel#create_message"
- TorqueBox.transaction {
- AModel.new.create_message
- }
+ AModel.new.create_message
sleep(0.1)
end
end

0 comments on commit e7daa08

Please sign in to comment.