Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 120 for nWorkers (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/deployment/docker.md

    在這種情境中,你大概會希望「每個容器只有一個(Uvicorn)行程」,因為你已在叢集層級處理了複本。
    
    所以這種情況下,你「不會」想在容器中使用多個 workers(例如用 `--workers` 命令列選項)。你會想每個容器只執行「一個 Uvicorn 行程」(但可能有多個容器)。
    
    在容器內再放一個行程管理器(如同多 workers 的情況)只會增加「不必要的複雜度」,而你很可能已用叢集系統處理好了。
    
    ### 多行程容器與特殊情境 { #containers-with-multiple-processes-and-special-cases }
    
    當然,有些「特殊情況」你可能會想在「一個容器內」執行數個「Uvicorn worker 行程」。
    
    在這些情況中,你可以用 `--workers` 命令列選項來設定要啟動的 workers 數量:
    
    ```{ .dockerfile .annotate }
    FROM python:3.14
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  2. .teamcity/src/test/kotlin/BuildTypeTest.kt

            val gradleStep = CompileAll(buildModel, buildModel.stages[0]).steps.getGradleStep(GRADLE_RUNNER_STEP_NAME)
            assertEquals(
                listOf(
                    "-Dorg.gradle.workers.max=%maxParallelForks%",
                    "-PmaxParallelForks=%maxParallelForks%",
                    "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%",
                    "-Dscan.value.tcPipeline=master",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 15 19:30:24 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  3. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

                    "\"-Porg.gradle.performance.db.username=%performance.db.username%\"",
                    "-DenableTestDistribution=%enableTestDistribution%",
                    "-Dorg.gradle.workers.max=%maxParallelForks%",
                    "-PmaxParallelForks=%maxParallelForks%",
                    PLUGINS_PORTAL_URL_OVERRIDE,
                    "-Dscan.value.tcPipeline=master",
                    "-s",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  4. cmd/notification.go

    type NotificationGroup struct {
    	workers    *workers.Workers
    	errs       []NotificationPeerErr
    	retryCount int
    }
    
    // WithNPeers returns a new NotificationGroup with length of errs slice upto nerrs,
    // upon Wait() errors are returned collected from all tasks.
    func WithNPeers(nerrs int) *NotificationGroup {
    	if nerrs <= 0 {
    		nerrs = 1
    	}
    	wk, _ := workers.New(nerrs)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  5. internal/s3select/json/preader.go

    	recordsRead int                       // number of records read in current slice
    	input       chan *queueItem           // input for workers
    	queue       chan *queueItem           // output from workers in order
    	err         error                     // global error state, only touched by Reader.Read
    	bufferPool  bpool.Pool[[]byte]        // pool of []byte objects for input
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. internal/config/api/help.go

    		config.HelpKV{
    			Key:         apiReplicationMaxWorkers,
    			Description: `set the maximum number of replication workers` + defaultHelpPostfix(apiReplicationMaxWorkers),
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         apiTransitionWorkers,
    			Description: `set the number of transition workers` + defaultHelpPostfix(apiTransitionWorkers),
    			Optional:    true,
    			Type:        "number",
    		},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 16 08:43:49 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. docs/es/docs/deployment/concepts.md

    Pero en muchos casos, querrás ejecutar varios worker processes al mismo tiempo.
    
    ### Múltiples Procesos - Workers { #multiple-processes-workers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 20K bytes
    - Click Count (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiReportTask.kt

    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    // Using star import to workaround https://youtrack.jetbrains.com/issue/KTIJ-24390
    import org.gradle.kotlin.dsl.*
    import org.gradle.workers.WorkerExecutor
    import javax.inject.Inject
    
    
    @CacheableTask
    abstract class IncubatingApiReportTask : DefaultTask() {
    
        private val additionalClasspath = project.objects.fileCollection().apply {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  9. .idea/scopes/Gradle_public_API.xml

    </component>...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jul 18 15:08:47 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. .ci/jobs.t/elastic+elasticsearch+pull-request+part-1-windows.yml

              del /f /s /q %USERPROFILE%\.gradle\init.d\*.*
              mkdir %USERPROFILE%\.gradle\init.d
              copy .ci\init.gradle %USERPROFILE%\.gradle\init.d\
              (
                echo call %GRADLEW_BAT% --max-workers=4 -Dbwc.checkout.align=true %GRADLE_TASK% ^|^| exit /b 1
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 22:34:45 GMT 2021
    - 1.7K bytes
    - Click Count (0)
Back to Top