Skip to content

Commit

Permalink
sleep over 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
Rany Keddo committed Jan 31, 2012
1 parent 1daa452 commit 6734b37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/lhm-kill-queue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module Lhm
def master
lock = trip
puts "starting to kill non lhm processes in 1 second"
sleep(1)
sleep(1.05)

[list_non_lhm].flatten.each do |process|
kill_process(process)
Expand Down Expand Up @@ -124,7 +124,6 @@ module Lhm

def select?(process)
if statement = select_statement(process)

case statement
when /delete/i then false
when /update/i then false
Expand Down

0 comments on commit 6734b37

Please sign in to comment.