- Sort Score
- Result 10 results
- Languages All
Results 21 - 22 of 22 for isShutdown (0.08 sec)
-
samples/bookinfo/src/details/details.rb
server = WEBrick::HTTPServer.new( :BindAddress => '*', :Port => port, :AcceptCallback => -> (s) { s.setsockopt(Socket::IPPROTO_TCP, Socket::TCP_NODELAY, 1) }, ) trap 'INT' do server.shutdown end server.mount_proc '/health' do |req, res| res.status = 200 res.body = {'status' => 'Details is healthy'}.to_json res['Content-Type'] = 'application/json' end
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 14:35:54 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/logging.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 7.2K bytes - Viewed (0)