Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for unblock (0.16 sec)

  1. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Block the IP
            for (int i = 1; i <= 5; i++) {
                assertTrue(rateLimiter.checkAttempt("user" + i, ip));
                rateLimiter.recordFailure("user" + i, ip);
            }
    
            // Should be blocked
            assertFalse(rateLimiter.checkAttempt("user6", ip), "IP should be blocked");
    
            // Manually unblock
            assertTrue(rateLimiter.unblockIp(ip), "Manual unblock should succeed");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        }
    
        /**
         * Manually unblock an IP
         *
         * @param sourceIp the IP to unblock
         * @return true if IP was unblocked, false if not found
         */
        public boolean unblockIp(String sourceIp) {
            IpAttempts ip = ipAttempts.get(sourceIp);
            if (ip != null) {
                ip.reset();
                log.info("Manually unblocked IP: {}", sourceIp);
                return true;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    	if !dstOpts.NoLock {
    		ns := z.NewNSLock(dstBucket, dstObject)
    		lkctx, err := ns.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return ObjectInfo{}, err
    		}
    		ctx = lkctx.Context()
    		defer ns.Unlock(lkctx)
    		dstOpts.NoLock = true
    	}
    
    	poolIdx, err := z.getPoolIdxNoLock(ctx, dstBucket, dstObject, srcInfo.Size)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    	defer h.mu.RUnlock()
    
    	return h.Object
    }
    
    func (h *healingTracker) setObject(object string) {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	h.Object = object
    }
    
    func (h *healingTracker) updateProgress(success, skipped bool, bytes uint64) {
    	h.mu.Lock()
    	defer h.mu.Unlock()
    
    	switch {
    	case success:
    		h.ItemsHealed++
    		h.BytesDone += bytes
    	case skipped:
    		h.ItemsSkipped++
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. cmd/tier.go

    }
    
    func (t *tierMetrics) logSuccess(tier string) {
    	t.Lock()
    	defer t.Unlock()
    
    	stat := t.requestsCount[tier]
    	stat.success++
    	t.requestsCount[tier] = stat
    }
    
    func (t *tierMetrics) logFailure(tier string) {
    	t.Lock()
    	defer t.Unlock()
    
    	stat := t.requestsCount[tier]
    	stat.failure++
    	t.requestsCount[tier] = stat
    }
    
    var (
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    	// concurrently reading and writing the IAM storage. The (r)lock()
    	// functions return the iamCache. The cache can be safely written to
    	// only when returned by `lock()`.
    	lock() *iamCache
    	unlock()
    	rlock() *iamCache
    	runlock()
    	getUsersSysType() UsersSysType
    	loadPolicyDoc(ctx context.Context, policy string, m map[string]PolicyDoc) error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  7. cmd/local-locker.go

    	lastCleanup     atomic.Pointer[time.Time]
    	locksOverloaded atomic.Int64
    }
    
    // getMutex will lock the mutex.
    // Call the returned function to unlock.
    func (l *localLocker) getMutex() func() {
    	l.waitMutex.Add(1)
    	l.mutex.Lock()
    	l.waitMutex.Add(-1)
    	return l.mutex.Unlock
    }
    
    func (l *localLocker) String() string {
    	return globalEndpoints.Localhost()
    }
    
    func (l *localLocker) canTakeLock(resources ...string) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. cmd/bucket-targets.go

    	sys.aMutex.Lock()
    	defer sys.aMutex.Unlock()
    	if v, ok := sys.arnErrsMap[arn]; !ok {
    		sys.arnErrsMap[arn] = arnErrs{
    			updateInProgress: true,
    			count:            v.count + 1,
    			bucket:           bucket,
    		}
    	}
    }
    
    func (sys *BucketTargetSys) markRefreshDone(bucket, arn string) {
    	sys.aMutex.Lock()
    	defer sys.aMutex.Unlock()
    	if v, ok := sys.arnErrsMap[arn]; ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.32.md

    Guaranteed pods with integer CPU requests on nodes with static CPU & Memory policy configured is not allowed for the beta release of in-place resize. The feature gate `InPlacePodVerticalScalingExclusiveCPUs` defaults to `false`, but can be enabled to unblock development on ([#127262](https://github.com/kubernetes/kubernetes/issues/127262), [@tallclair](https://github.com/tallclair)) [SIG Node]. ([#128287](https://github.com/kubernetes/kubernetes/pull/128287), [@esotsal](https://github.com/esotsal)) [SIG...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 14:49:49 UTC 2025
    - 412.3K bytes
    - Viewed (0)
  10. cmd/metacache-bucket.go

    		debug.PrintStack()
    		return metacache{}
    	}
    
    	// Grab a write lock, since we create one if we cannot find one.
    	b.mu.Lock()
    	defer b.mu.Unlock()
    
    	// Check if exists already.
    	if c, ok := b.caches[o.ID]; ok {
    		c.lastHandout = time.Now()
    		b.caches[o.ID] = c
    		b.debugf("returning existing %v", o.ID)
    		return c
    	}
    
    	if !o.Create {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top