Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resYear (0.09 sec)

  1. internal/dsync/lock-args.go

    type ResponseCode uint8
    
    // Response codes for a locking request.
    const (
    	RespOK ResponseCode = iota
    	RespLockConflict
    	RespLockNotInitialized
    	RespLockNotFound
    	RespErr
    )
    
    // LockResp is a locking request response.
    type LockResp struct {
    	Code ResponseCode
    	Err  string
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. cmd/lock-rest-server.go

    		dst.Code = dsync.RespLockNotInitialized
    	case errLockConflict:
    		dst.Code = dsync.RespLockConflict
    	case errLockNotFound:
    		dst.Code = dsync.RespLockNotFound
    	default:
    		dst.Code = dsync.RespErr
    		dst.Err = err.Error()
    	}
    	return dst, nil
    }
    
    const (
    	// Lock maintenance interval.
    	lockMaintenanceInterval = 1 * time.Minute
    
    	// Lock validity duration
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top