lib/coursemology/evaluator/client.rb in coursemology-evaluator-0.1.4 vs lib/coursemology/evaluator/client.rb in coursemology-evaluator-0.1.6
- old
+ new
@@ -29,10 +29,10 @@
raise StopIteration if @terminate
# :nocov:
# This sleep might not be triggered in the specs, because interruptions to the thread is
# nondeterministically run by the OS scheduler.
- sleep(1.minute)
+ sleep(Coursemology::Evaluator.config.poll_interval)
# :nocov:
end
raise StopIteration if @terminate
end