1
0
mirror of https://github.com/cmur2/dyndnsd.git synced 2025-08-08 08:33:56 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
cn
09aa2b127c release: 2.3.1 2020-07-27 21:31:15 +02:00
cn
618b2c823d dyndnsd: remove noisy message by not redundantly logging on shutdown 2020-07-27 20:34:48 +02:00
3 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2.3.1 (July 27, 2020)
IMPROVEMENTS:
- Fix annoying error message `log writing failed. can't be called from trap context` on shutdown by not attempting to log redundant information there
## 2.3.0 (July 20, 2020)
IMPROVEMENTS:

View File

@@ -256,11 +256,9 @@ module Dyndnsd
# @return [void]
private_class_method def self.setup_traps
Signal.trap('INT') do
Dyndnsd.logger.info 'Quitting...'
Rack::Handler::WEBrick.shutdown
end
Signal.trap('TERM') do
Dyndnsd.logger.info 'Quitting...'
Rack::Handler::WEBrick.shutdown
end
end

View File

@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Dyndnsd
VERSION = '2.3.0'
VERSION = '2.3.1'
end