autotest 100% cpu problem snippets

Restricting CPU usage for Autotest

Tagged autotest 100% cpu problem  Languages ruby

Autotest sucks by default up all the cpu cycles. I found a solution for it here.

Add this to $HOME/.autotest

Autotest.add_hook :initialize do |at|
  at.sleep = 5
end