lib/solve/ruby_solver.rb in solve-4.0.0 vs lib/solve/ruby_solver.rb in solve-4.0.1

- old
+ new

@@ -9,10 +9,10 @@ # The timeout (in seconds) to use when resolving graphs. Default is 10. This can be # configured by setting the SOLVE_TIMEOUT environment variable. # # @return [Integer] def timeout - seconds = 30 unless seconds = ENV["SOLVE_TIMEOUT"] + seconds = 30 unless ( seconds = ENV["SOLVE_TIMEOUT"] ) seconds.to_i * 1_000 end # For optional solver engines, this attempts to load depenencies. The # RubySolver is a non-optional component, so this is a no-op