Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isSyncEventsEnabled (0.24 sec)

  1. cmd/event-notification.go

    	evnot.RUnlock()
    
    	if len(targetIDSet) == 0 {
    		return
    	}
    
    	// If MINIO_API_SYNC_EVENTS is set, send events synchronously.
    	evnot.targetList.Send(args.ToEvent(true), targetIDSet, globalAPIConfig.isSyncEventsEnabled())
    }
    
    type eventArgs struct {
    	EventName    event.Name
    	BucketName   string
    	Object       ObjectInfo
    	ReqParams    map[string]string
    	RespElements map[string]string
    	Host         string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.transitionWorkers <= 0 {
    		return runtime.GOMAXPROCS(0) / 2
    	}
    
    	return t.transitionWorkers
    }
    
    func (t *apiConfig) isSyncEventsEnabled() bool {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	return t.syncEvents
    }
    
    func (t *apiConfig) getObjectMaxVersions() int64 {
    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top