Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for Sait (0.23 sec)

  1. cmd/notification.go

    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.workers.Wait()
    	return g.errs
    }
    
    // Go calls the given function in a new goroutine.
    //
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  2. cmd/erasure.go

    				w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    				return w.Run(func() error {
    					wait := deleteCleanupSleeper.Timer(ctx)
    					removeAll(pathJoin(drivePath, minioMetaTmpDeletedBucket, ddir))
    					wait()
    					return nil
    				})
    			})
    		}(disk)
    	}
    	wg.Wait()
    }
    
    // nsScanner will start scanning buckets and send updated totals as they are traversed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 10:02:39 GMT 2024
    - 16K bytes
    - Viewed (1)
  3. internal/config/errors.go

    		"Invalid value for batch key rotation workers wait",
    		"Please input a non-negative duration",
    		"keyrotation_workers_wait should be > 0ms",
    	)
    	ErrInvalidBatchReplicationWorkersWait = newErrFn(
    		"Invalid value for batch replication workers wait",
    		"Please input a non-negative duration",
    		"replication_workers_wait should be > 0ms",
    	)
    	ErrInvalidBatchExpirationWorkersWait = newErrFn(
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. internal/config/scanner/scanner.go

    	// replaced them with a single speed parameter
    	Delay            = "delay"
    	MaxWait          = "max_wait"
    	Cycle            = "cycle"
    	EnvDelay         = "MINIO_SCANNER_DELAY"
    	EnvCycle         = "MINIO_SCANNER_CYCLE"
    	EnvDelayLegacy   = "MINIO_CRAWLER_DELAY"
    	EnvMaxWait       = "MINIO_SCANNER_MAX_WAIT"
    	EnvMaxWaitLegacy = "MINIO_CRAWLER_MAX_WAIT"
    )
    
    // Config represents the heal settings.
    type Config struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    			return w.Run(func() error {
    				wait := deleteMultipartCleanupSleeper.Timer(ctx)
    				if time.Since(fi.ModTime) > expiry {
    					pathUUID := mustGetUUID()
    					targetPath := pathJoin(drivePath, minioMetaTmpDeletedBucket, pathUUID)
    
    					renameAll(pathJoin(drivePath, minioMetaMultipartBucket, uploadIDPath), targetPath, pathJoin(drivePath, minioMetaBucket))
    				}
    				wait()
    				return nil
    			})
    		})
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 42.4K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    		5*time.Second,
    	)
    }
    
    func log(format string, data ...interface{}) {
    	if dsyncLog {
    		console.Printf(format, data...)
    	}
    }
    
    const (
    	// dRWMutexAcquireTimeout - default tolerance limit to wait for lock acquisition before.
    	drwMutexAcquireTimeout = 1 * time.Second // 1 second.
    
    	// dRWMutexRefreshTimeout - default timeout for the refresh call
    	drwMutexRefreshCallTimeout = 5 * time.Second
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cmd/bucket-metadata-sys.go

    				diskBuckets.Add(bucket.Name)
    			}
    			sys.RemoveStaleBuckets(diskBuckets)
    
    			for i := range buckets {
    				wait := sleeper.Timer(ctx)
    
    				meta, err := loadBucketMetadata(ctx, sys.objAPI, buckets[i].Name)
    				if err != nil {
    					internalLogIf(ctx, err, logger.WarningKind)
    					wait() // wait to proceed to next entry.
    					continue
    				}
    
    				sys.Lock()
    				sys.metadataMap[buckets[i].Name] = meta
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  8. cmd/perf-tests.go

    				atomic.AddUint64(&totalBytesWritten, uint64(info.Size))
    				objCountPerThread[i]++
    				mu.Lock()
    				uploadTimes = append(uploadTimes, response)
    				mu.Unlock()
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	// We already saw write failures, no need to proceed into read's
    	if retError != "" {
    		return SpeedTestResult{
    			Uploads:     totalBytesWritten,
    			Downloads:   totalBytesRead,
    			UploadTimes: uploadTimes,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    				// persist in-memory state to disk after every 10secs.
    				batchLogIf(ctx, ri.updateAfter(ctx, api, 10*time.Second, job))
    
    				if wait := globalBatchConfig.ReplicationWait(); wait > 0 {
    					time.Sleep(wait)
    				}
    			}()
    		}
    		wk.Wait()
    
    		ri.RetryAttempts = attempts
    		ri.Complete = ri.ObjectsFailed == 0
    		ri.Failed = ri.ObjectsFailed > 0
    
    		globalBatchJobsMetrics.save(job.ID, ri)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  10. cmd/erasure-encode.go

    			if p.errs[i] == nil {
    				if n != len(blocks[i]) {
    					p.errs[i] = io.ErrShortWrite
    					p.writers[i] = nil
    				}
    			} else {
    				p.writers[i] = nil
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	// If nilCount >= p.writeQuorum, we return nil. This is because HealFile() uses
    	// CreateFile with p.writeQuorum=1 to accommodate healing of single disk.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top