Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for isShutdown (0.08 sec)

  1. 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)
  2. cmd/logging.go

    	logger.LogOnceIf(ctx, "sftp", err, id, errKind...)
    }
    
    func shutdownLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "shutdown", err, errKind...)
    }
    
    func stsLogIf(ctx context.Context, err error, errKind ...interface{}) {
    	logger.LogIf(ctx, "sts", err, errKind...)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top