Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for healCh (0.15 sec)

  1. cmd/bucket-replication.go

    		}
    		return
    	}
    
    	var ch, healCh chan<- ReplicationWorkerOperation
    	switch ri.OpType {
    	case replication.HealReplicationType, replication.ExistingObjectReplicationType:
    		ch = p.mrfReplicaCh
    		healCh = p.getWorkerCh(ri.Name, ri.Bucket, ri.Size)
    	default:
    		ch = p.getWorkerCh(ri.Name, ri.Bucket, ri.Size)
    	}
    	if ch == nil && healCh == nil {
    		return
    	}
    
    	select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  2. cmd/erasure-healing.go

    						tillOffset, DefaultBitrotAlgorithm, erasure.ShardSize())
    				}
    			}
    
    			// Heal each part. erasure.Heal() will write the healed
    			// part to .minio/tmp/uuid/ which needs to be renamed
    			// later to the final location.
    			err = erasure.Heal(ctx, writers, readers, partSize, prefer)
    			closeBitrotReaders(readers)
    			closeBitrotWriters(writers)
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  3. .github/workflows/tests.yml

              MYSQL_RANDOM_ROOT_PASSWORD: "yes"
            ports:
              - 9910:3306
            options: >-
              --health-cmd "mysqladmin ping -ugorm -pgorm"
              --health-interval 10s
              --health-start-period 10s
              --health-timeout 5s
              --health-retries 10
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v4
          with:
            go-version: ${{ matrix.go }}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    		return ctx, done, ctx.Err()
    	}
    
    	atomic.StoreInt64(&p.health.lastStarted, time.Now().UnixNano())
    	p.health.waiting.Add(1)
    
    	ctx = context.WithValue(ctx, healthDiskCtxKey{}, &healthDiskCtxValue{lastSuccess: &p.health.lastSuccess})
    	si := p.updateStorageMetrics(s, paths...)
    	var once sync.Once
    	return ctx, func(sz int64, errp *error) {
    		p.health.waiting.Add(-1)
    		once.Do(func() {
    			if errp != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. cmd/erasure-healing_test.go

    			})
    		}
    
    		// Try healing now, it should heal the content properly.
    		_, err = objLayer.HealObject(ctx, bucket, object, "", hopts)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		fileInfos, errs = readAllFileInfo(ctx, erasureDisks, "", bucket, object, "", false, true)
    		if countErrs(errs, nil) != len(fileInfos) {
    			t.Fatal("Expected all xl.meta healed, but partial heal detected")
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  6. 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)
  7. cmd/metrics-v2.go

    		opts := HealthOptions{}
    		result := objLayer.Health(ctx, opts)
    
    		metrics = make([]MetricV2, 0, 2+4*len(result.ESHealth))
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterWriteQuorumMD(),
    			Value:       float64(result.WriteQuorum),
    		})
    
    		health := 1
    		if !result.Healthy {
    			health = 0
    		}
    
    		metrics = append(metrics, MetricV2{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/service/scopes/GlobalScopeServices.java

    import org.gradle.process.internal.health.memory.DefaultJvmMemoryInfo;
    import org.gradle.process.internal.health.memory.DefaultMemoryManager;
    import org.gradle.process.internal.health.memory.DefaultOsMemoryInfo;
    import org.gradle.process.internal.health.memory.JvmMemoryInfo;
    import org.gradle.process.internal.health.memory.MemoryManager;
    import org.gradle.process.internal.health.memory.OsMemoryInfo;
    
    import java.util.List;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonServices.java

    import org.gradle.launcher.daemon.server.exec.WatchForDisconnection;
    import org.gradle.launcher.daemon.server.health.DaemonHealthCheck;
    import org.gradle.launcher.daemon.server.health.DaemonHealthStats;
    import org.gradle.launcher.daemon.server.health.HealthExpirationStrategy;
    import org.gradle.launcher.daemon.server.health.gc.GarbageCollectorMonitoringStrategy;
    import org.gradle.launcher.daemon.server.scaninfo.DaemonScanInfo;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. samples/bookinfo/src/productpage/productpage.py

                                  table_attributes="class=\"table table-condensed table-bordered table-hover\"")
    
        return render_template('index.html', serviceTable=table)
    
    
    @app.route('/health')
    def health():
        return 'Product page is healthy'
    
    
    @app.route('/login', methods=['POST'])
    def login():
        user = request.values.get('username')
        response = app.make_response(redirect(request.referrer))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (1)
Back to top