lib/automate-em.rb in automate-em-0.0.3 vs lib/automate-em.rb in automate-em-0.0.4
- old
+ new
@@ -116,10 +116,10 @@
end
#
# Start the UDP server
#
- EM.open_datagram_socket "0.0.0.0", 0, DatagramServer
+ EM.open_datagram_socket "0.0.0.0", Rails.configuration.automate.datagram_port, DatagramServer
#
# Load the system based on the database
#
ControlSystem.update_all(:active => false)