Skip to content

Commit

Permalink
print a message when tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
will committed Apr 13, 2011
1 parent 2b855b9 commit b4127ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ def wait_for(db)
msg = "(#{database[:database_dir_size]} bytes)"
elsif state == "standby"
msg = "(#{database[:current_transaction]}/#{database[:target_transaction]})"
break if database[:tracking]
if database[:tracking]
redisplay("The #{name} is now tracking", true)
break
end
else
msg = ''
end
Expand Down

0 comments on commit b4127ae

Please sign in to comment.