diff --git a/src/server_status_detector.rb b/src/server_status_detector.rb index 3375d52..b87d767 100644 --- a/src/server_status_detector.rb +++ b/src/server_status_detector.rb @@ -24,7 +24,7 @@ module ServerStatusDetector # @param port [Integer] # @param timeout [Integer] # @return [Hash{Symbol=>Integer, Symbol=>Symbol, Symbol=>Float,nil}] - def self.test_port(host = '127.0.0.1', port = 25_565, timeout = 10) + def self.test_port(host = '127.0.0.1', port = 25_565, timeout = 2) result = { port: port, status: :unknown, diff --git a/src/updates.rb b/src/updates.rb index 4902ed2..38d8901 100644 --- a/src/updates.rb +++ b/src/updates.rb @@ -18,7 +18,7 @@ require 'net/http' require 'uri' # @type const RELEASE_SERIAL_CODE: String -RELEASE_SERIAL_CODE = '13c4c19' +RELEASE_SERIAL_CODE = '13c4c19git ' # @type const CHANNEL: String CHANNEL = 'dev' # @type const VERSION_LIST_URL: String