- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 122 for nWorkers (0.04 seconds)
-
architecture/standards/0007-java-pre-requisite.md
Embedding a Java runtime in the distribution would provide some benefits, such as allowing the Launcher, Daemon and Workers to run on it, removing the prerequisite of an installed Java runtime. However, this does not fully remove the prerequisite, as the Wrapper itself would still need an installed Java runtime to execute.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jan 07 08:44:20 GMT 2025 - 3.3K bytes - Click Count (0) -
docs/de/docs/deployment/docker.md
COPY ./app /code/app # (1)! CMD ["fastapi", "run", "app/main.py", "--port", "80", "--workers", "4"] ``` 1. Hier verwenden wir die `--workers` Befehlszeilenoption, um die Anzahl der Worker auf 4 festzulegen. Hier sind einige Beispiele, wann das sinnvoll sein könnte: #### Eine einfache Anwendung { #a-simple-app }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 17:32:56 GMT 2025 - 33.6K bytes - Click Count (0) -
.teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt
"%windows.java25.openjdk.64bit%", ) val expectedInstallationPaths = (if (os == Os.WINDOWS) windowsPaths else linuxPaths).joinToString(",") return listOf( "-Dorg.gradle.workers.max=%maxParallelForks%", "-PmaxParallelForks=%maxParallelForks% $PLUGINS_PORTAL_URL_OVERRIDE -Dscan.value.tcPipeline=master -s", "%additional.gradle.parameters%",Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Nov 20 07:29:52 GMT 2025 - 7.2K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.incubation.action import org.gradle.api.logging.Logger import org.gradle.workers.WorkAction import org.slf4j.LoggerFactory abstract class IncubatingApiReportAggregationWorkAction : WorkAction<IncubatingApiReportAggregationParameter> { companion object {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/zh/docs/deployment/concepts.md
## 复制 - 进程和内存 对于 FastAPI 应用程序,使用像 Uvicorn 这样的服务器程序,在**一个进程**中运行一次就可以同时为多个客户端提供服务。 但在许多情况下,您会希望同时运行多个工作进程。 ### 多进程 - Workers 如果您的客户端数量多于单个进程可以处理的数量(例如,如果虚拟机不是太大),并且服务器的 CPU 中有 **多个核心**,那么您可以让 **多个进程** 运行 同时处理同一个应用程序,并在它们之间分发所有请求。 当您运行同一 API 程序的**多个进程**时,它们通常称为 **workers**。 ### 工作进程和端口 还记得文档 [About HTTPS](https.md){.internal-link target=_blank} 中只有一个进程可以侦听服务器中的端口和 IP 地址的一种组合吗? 现在仍然是对的。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun May 11 13:37:26 GMT 2025 - 16.2K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
listOf( // We pass the 'maxParallelForks' setting as 'workers.max' to limit the maximum number of executers even // if multiple test tasks run in parallel. We also pass it to the Gradle build as a maximum (maxParallelForks) // for each test task, such that we are independent of whatever default value is defined in the build itself. "-Dorg.gradle.workers.max=$maxParallelForks", "-PmaxParallelForks=$maxParallelForks",
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/erasure-server-pool-decom.go
if err != nil { decomLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets))) workerSize = len(pool.sets) } // Each decom worker needs one List() goroutine/worker // add that many extra workers. workerSize += len(pool.sets) wk, err := workers.New(workerSize) if err != nil { return err } var vc *versioning.VersioningCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 42.2K bytes - Click Count (1) -
cmd/bucket-replication-metrics.go
func (m *rateMeasurement) getExpMovingAvgBytesPerSecond() float64 { m.lock.Lock() defer m.lock.Unlock() return m.expMovingAvg } // ActiveWorkerStat is stat for active replication workers type ActiveWorkerStat struct { Curr int `json:"curr"` Avg float32 `json:"avg"` Max int `json:"max"` hist metrics.Histogram } func newActiveWorkerStat(r metrics.Registry) *ActiveWorkerStat {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 14.2K bytes - Click Count (0) -
cmd/batch-rotate.go
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio/internal/crypto" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/kms" "github.com/minio/pkg/v3/env" "github.com/minio/pkg/v3/workers" ) // keyrotate: // apiVersion: v1 // bucket: BUCKET // prefix: PREFIX // encryption: // type: sse-s3 # valid values are sse-s3 and sse-kms // key: <new-kms-key> # valid only for sse-kms
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.7K bytes - Click Count (0) -
.teamcity/performance-test-durations.json
"durations" : [ { "testProject" : "nativeMonolithic", "linux" : 1215 }, { "testProject" : "nativeMonolithicOverlapping", "linux" : 1324 } ] }, { "scenario" : "org.gradle.performance.regression.nativeplatform.RealWorldNativePluginPerformanceTest.build with 12 parallel workers", "durations" : [ { "testProject" : "nativeMonolithic",
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 25 10:54:09 GMT 2025 - 25K bytes - Click Count (0)