Skip to content
Browse files

add sleeps back in to ruin-my-database console command

  • Loading branch information...
1 parent 23d25d4 commit ac90a6949c9b4353827acb7aaa6109a897ad7066 @bobthecow committed Sep 12, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 commands/ruin-my-database.rb
View
10 commands/ruin-my-database.rb
@@ -36,18 +36,18 @@
exit 1
end
- # $stderr.puts "In 10 seconds, we will delete #{dbs.length} databases — " + dbs.join(', ')
- # $stderr.puts 'Hit ctrl+c to abort.'
- # $stderr.puts
+ $stderr.puts "In 10 seconds, we will delete #{dbs.length} databases — " + dbs.join(', ')
+ $stderr.puts 'Hit ctrl+c to abort.'
+ $stderr.puts
- # sleep 10
+ sleep 10
$stderr.puts 'Hokey then.'
$stderr.puts 'Don\'t say I didn\'t warn you.'
$stderr.puts
dbs.each do |name|
- # sleep 2
+ sleep 1
$stderr.puts ' Deleting ' + name
conn.drop_database name
end

0 comments on commit ac90a69

Please sign in to comment.
Something went wrong with that request. Please try again.