Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for UTCNow (0.21 sec)

  1. cmd/object-handlers.go

    			oi.UserDefined[ReservedMetadataPrefixLower+ObjectLockLegalHoldTimestamp] = UTCNow().Format(time.RFC3339Nano)
    
    			dsc := mustReplicate(ctx, bucket, object, oi.getMustReplicateOptions(replication.MetadataReplicationType, opts))
    			if dsc.ReplicateAny() {
    				oi.UserDefined[ReservedMetadataPrefixLower+ReplicationTimestamp] = UTCNow().Format(time.RFC3339Nano)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	s.Lock()
    	defer s.Unlock()
    
    	m := s.statusMap[opts.bucket]
    	st := m.TargetsMap[opts.arn]
    	st.LastUpdate = UTCNow()
    	st.ResyncStatus = status
    	m.TargetsMap[opts.arn] = st
    	m.LastUpdate = UTCNow()
    	s.statusMap[opts.bucket] = m
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    	saveResyncStatus(ctx, opts.bucket, m, objAPI)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/site-replication.go

    			}
    			if st, ok := m.TargetsMap[t.Arn]; ok {
    				st.LastUpdate = UTCNow()
    				st.ResyncStatus = ResyncCanceled
    				m.TargetsMap[t.Arn] = st
    				m.LastUpdate = UTCNow()
    			}
    			globalReplicationPool.resyncer.statusMap[bucket] = m
    			globalReplicationPool.resyncer.Unlock()
    		}
    	}
    
    	rs.Status = ResyncCanceled
    	rs.LastUpdate = UTCNow()
    	if err := saveSiteResyncMetadata(ctx, rs, objAPI); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. cmd/metrics-v2.go

    				VariableLabels: map[string]string{
    					"endpoint": ep,
    				},
    			}
    			currDowntime := time.Duration(0)
    			if !health.Online && !health.lastOnline.IsZero() {
    				currDowntime = UTCNow().Sub(health.lastOnline)
    			}
    			offlineDuration.Value = float64(currDowntime / time.Second)
    			ml = append(ml, offlineDuration)
    
    			downtimeDuration := MetricV2{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	// Send profiling data to zip as file
    	header, zerr := zip.FileInfoHeader(dummyFileInfo{
    		name:    name,
    		size:    int64(len(data)),
    		mode:    fileMode,
    		modTime: UTCNow(),
    		isDir:   false,
    		sys:     nil,
    	})
    	if zerr != nil {
    		return zerr
    	}
    	header.Method = zip.Deflate
    	zwriter, zerr := zipWriter.CreateHeader(header)
    	if zerr != nil {
    		return zerr
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top