Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for task (0.2 sec)

  1. cmd/background-heal-ops.go

    				}
    			}
    
    			if bgSeq != nil {
    				// We increment relevant counter based on the heal result for prometheus reporting.
    				if err != nil {
    					bgSeq.countFailed(res)
    				} else {
    					bgSeq.countHeals(res.Type, false)
    				}
    			}
    
    			if task.respCh != nil {
    				task.respCh <- healResult{result: res, err: err}
    			}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	select {
    	case globalBackgroundHealRoutine.tasks <- task:
    		if serverDebugLog {
    			fmt.Printf("Task in the queue: %#v\n", task)
    		}
    	case <-h.ctx.Done():
    		return nil
    	}
    
    	// task queued, now wait for the response.
    	select {
    	case res := <-task.respCh:
    		if !h.reportProgress {
    			if errors.Is(res.err, errSkipFile) { // this is only sent usually by nopHeal
    				return nil
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  3. cmd/veeam-sos-api.go

    //     Vendors might change the settings based on the configuration and scale out of the solution (more storage nodes =>
    //     higher task limit).
    //
    //     <S3ConcurrentTaskLimit>
    //
    //   - Defines how many S3 operations are executed parallel within one Repository Task Slot (and within one backup object
    //     that gets offloaded). The same registry key setting overwrites the storage-defined setting.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  4. cmd/bucket-lifecycle.go

    							task.event.StorageClass, task.objInfo.Bucket, task.objInfo.Name, task.objInfo.VersionID, err))
    					}
    				}
    			} else {
    				ts := tierStats{
    					TotalSize:   uint64(task.objInfo.Size),
    					NumVersions: 1,
    				}
    				if task.objInfo.IsLatest {
    					ts.NumObjects = 1
    				}
    				t.addLastDayStats(task.event.StorageClass, ts)
    			}
    			t.activeTasks.Add(-1)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue1435.go

    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    	pid := syscall.Getpid()
    	fs, err := os.ReadDir(fmt.Sprintf("/proc/%d/task", pid))
    	if err != nil {
    		return fmt.Errorf("unable to find %d tasks: %v", pid, err)
    	}
    	expectedProc := fmt.Sprintf("Pid:\t%d", pid)
    	foundAThread := false
    	for _, f := range fs {
    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. cmd/callhome.go

    	"fmt"
    	"math/rand"
    	"net/url"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    var callhomeLeaderLockTimeout = newDynamicTimeout(30*time.Second, 10*time.Second)
    
    // initCallhome will start the callhome task in the background.
    func initCallhome(ctx context.Context, objAPI ObjectLayer) {
    	if !globalCallhomeConfig.Enabled() {
    		return
    	}
    
    	go func() {
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  7. cmd/notification.go

    // the same overall task.
    //
    // A zero NotificationGroup is valid and does not cancel on error.
    type NotificationGroup struct {
    	workers    *workers.Workers
    	errs       []NotificationPeerErr
    	retryCount int
    }
    
    // WithNPeers returns a new NotificationGroup with length of errs slice upto nerrs,
    // upon Wait() errors are returned collected from all tasks.
    func WithNPeers(nerrs int) *NotificationGroup {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. misc/ios/go_ios_exec.go

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>keychain-access-groups</key>
    	<array><string>` + appID + `</string></array>
    	<key>get-task-allow</key>
    	<true/>
    	<key>application-identifier</key>
    	<string>` + appID + `</string>
    	<key>com.apple.developer.team-identifier</key>
    	<string>` + teamID + `</string>
    </dict>
    </plist>
    `
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  9. cmd/peer-s3-client.go

    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    		for bktName, count := range bucketsMap {
    			if count < quorum {
    				// Queue a bucket heal task
    				globalMRFState.addPartialOp(partialOperation{
    					bucket: bktName,
    					queued: time.Now(),
    				})
    			}
    		}
    	}
    
    	result := make([]BucketInfo, 0, len(resultMap))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  10. internal/pubsub/mask.go

    	"math"
    	"math/bits"
    )
    
    // Mask allows filtering by a bitset mask.
    type Mask uint64
    
    const (
    	// MaskAll is the mask for all entries.
    	MaskAll Mask = math.MaxUint64
    )
    
    // MaskFromMaskable extracts mask from an interface.
    func MaskFromMaskable(m Maskable) Mask {
    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    	return t&other == other
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top