Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 324 for cancel3b (0.11 sec)

  1. src/main/java/org/codelibs/fess/job/CrawlJob.java

                throw new JobProcessingException("Failed to execute a crawl job.", e);
            } finally {
                if (timeoutTask != null && !timeoutTask.isCanceled()) {
                    timeoutTask.cancel();
                }
            }
    
            return resultBuf.toString();
    
        }
    
        protected int getRunningJobCount() {
            final AtomicInteger counter = new AtomicInteger(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. docs/metrics/v3.md

    | `minio_api_requests_canceled_total`            | Total number of requests canceled by the client. <br><br>Type: counter         | `name`, `type`, `pool_index`, `server`       |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 22:30:11 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers-pools.go

    	if objectAPI == nil {
    		return
    	}
    
    	pools, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	// Cancel any ongoing rebalance operation
    	globalNotificationSys.StopRebalance(r.Context())
    	writeSuccessResponseHeadersOnly(w)
    	adminLogIf(ctx, pools.saveRebalanceStats(GlobalContext, 0, rebalSaveStoppedAt))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		return ErrRequestTimedout
    	}
    
    	// Only return ErrClientDisconnected if the provided context is actually canceled.
    	// This way downstream context.Canceled will still report ErrRequestTimedout
    	if contextCanceled(ctx) && errors.Is(ctx.Err(), context.Canceled) {
    		return ErrClientDisconnected
    	}
    
    	// Unwrap the error first
    	err = unwrapAll(err)
    
    	switch err {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Canceled")
        }
      }
    
      @Test
      fun disconnectBeforeConnect() {
        server.enqueue(
          MockResponse(body = "A"),
        )
        val call = client.newCall(newRequest("/"))
        call.cancel()
        assertFailsWith<IOException> {
          call.execute()
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  6. mockwebserver/api/mockwebserver3.api

    	public static final field INSTANCE Lmockwebserver3/SocketPolicy$StallSocketAtStart;
    }
    
    public abstract interface class mockwebserver3/Stream {
    	public abstract fun cancel ()V
    	public abstract fun getRequestBody ()Lokio/BufferedSource;
    	public abstract fun getResponseBody ()Lokio/BufferedSink;
    }
    
    public abstract interface class mockwebserver3/StreamHandler {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    		immediatePurgeQueue = 1
    	}
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    
    	s = &xlStorage{
    		drivePath:            ep.Path,
    		endpoint:             ep,
    		globalSync:           globalFSOSync,
    		diskInfoCache:        cachevalue.New[DiskInfo](),
    		immediatePurge:       make(chan string, immediatePurgeQueue),
    		immediatePurgeCancel: cancel,
    	}
    
    	defer func() {
    		if cleanUp && err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    		srvCfg, err := getValidConfig(objAPI)
    		if err != nil {
    			return np, grid.NewRemoteErr(err)
    		}
    		subSys := vars.Get(peerRESTSubSys)
    		// Apply dynamic values.
    		ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
    		defer cancel()
    		if subSys == "" {
    			err = applyDynamicConfig(ctx, objAPI, srvCfg)
    		} else {
    			err = applyDynamicConfigForSubSys(ctx, objAPI, srvCfg, subSys)
    		}
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. cmd/metacache-stream.go

    		}
    		res = append(res, meta)
    	}
    	return metaCacheEntriesSorted{o: res}, nil
    }
    
    // readAll will return all remaining objects on the dst channel and close it when done.
    // The context allows the operation to be canceled.
    func (r *metacacheReader) readAll(ctx context.Context, dst chan<- metaCacheEntry) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	defer xioutil.SafeClose(dst)
    	if r.current.name != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. cmd/background-newdisks-heal-ops.go

    					if err := healFreshDisk(ctx, z, disk); err != nil {
    						globalBackgroundHealState.setDiskHealingStatus(disk, false)
    						timedout := OperationTimedOut{}
    						if !errors.Is(err, context.Canceled) && !errors.As(err, &timedout) && !errors.Is(err, errRetryHealing) {
    							printEndpointError(disk, err, false)
    						}
    						return
    					}
    					// Only upon success pop the healed disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top