Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 642 for Healthy (0.17 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThrows(IllegalStateException.class, () -> manager.startAsync().awaitHealthy());
        assertTrue(listener.stoppedCalled);
      }
    
      /**
       * This covers a bug where listener.healthy would get called when a single service failed during
       * startup (it occurred in more complicated cases also).
       */
      public void testFailStart_singleServiceCallsHealthy() {
        Service a = new FailStartService();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/generate-clients.md

    And it shows their true commitment to FastAPI and its **community** (you), as they not only want to provide you a **good service** but also want to make sure you have a **good and healthy framework**, FastAPI. 🙇
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. samples/bookinfo/src/details/details.rb

        :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
    
    server.mount_proc '/details' do |req, res|
        pathParts = req.path.split('/')
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller.go

    // minKMSPluginCloseGracePeriod can be lowered in unit tests to make the health check poll faster
    var minKMSPluginCloseGracePeriod = 10 * time.Second
    
    func (d *DynamicEncryptionConfigContent) validateNewTransformersHealth(
    	ctx context.Context,
    	kmsPluginHealthzCheck healthz.HealthChecker,
    	kmsPluginCloseGracePeriod time.Duration,
    ) error {
    	// test if new transformers are healthy
    	var healthCheckError error
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThrows(IllegalStateException.class, () -> manager.startAsync().awaitHealthy());
        assertTrue(listener.stoppedCalled);
      }
    
      /**
       * This covers a bug where listener.healthy would get called when a single service failed during
       * startup (it occurred in more complicated cases also).
       */
      public void testFailStart_singleServiceCallsHealthy() {
        Service a = new FailStartService();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  6. cmd/metrics-v3-system-drive.go

    	m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...)
    
    	var health float64
    	switch drive.Healing {
    	case true:
    		health = driveHealthHealing
    	case false:
    		if drive.State == "ok" {
    			health = driveHealthOnline
    		} else {
    			health = driveHealthOffline
    		}
    	}
    	m.Set(driveHealth, health, labels...)
    }
    
    func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * given to [connectionUser] who may (for example) assign it to a [RealCall.connection].
       *
       * This confirms the returned connection is healthy before returning it. If this encounters any
       * unhealthy connections in its search, this will clean them up.
       *
       * If [routes] is non-null these are the resolved routes (ie. IP addresses) for the connection.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. cmd/healthcheck-handler.go

    	}
    	result := objLayer.Health(ctx, opts)
    	w.Header().Set(xhttp.MinIOWriteQuorum, strconv.Itoa(result.WriteQuorum))
    	w.Header().Set(xhttp.MinIOStorageClassDefaults, strconv.FormatBool(result.UsingDefaults))
    	// return how many drives are being healed if any
    	if result.HealingDrives > 0 {
    		w.Header().Set(xhttp.MinIOHealingDrives, strconv.Itoa(result.HealingDrives))
    	}
    	if !result.Healthy {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    		t.Errorf("unexpected error: %v", err)
    	}
    	// 1. monitor node health twice, add untainted node once
    	if err := nodeController.monitorNodeHealth(ctx); err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	if err := nodeController.monitorNodeHealth(ctx); err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	// 2. mark node0 healthy
    	node0, err := fakeNodeHandler.Get(ctx, "node0", metav1.GetOptions{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/testdata/config_dump.json

                              "port_value": 15000
                            }
                          },
                          "health_check_config": {}
                        },
                        "health_status": "HEALTHY",
                        "load_balancing_weight": 1
                      }
                    ],
                    "load_balancing_weight": 0
                  }
                ],
                "policy": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 23:08:06 UTC 2024
    - 54.8K bytes
    - Viewed (0)
Back to top