Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 718 for 1000 (0.02 sec)

  1. docs/zh/docs/fastapi-cli.md

    默认情况下,它将监听 IP 地址 `127.0.0.1`,这是你的机器与自身通信的 IP 地址(`localhost`)。
    
    ## `fastapi run`
    
    当你运行 `fastapi run` 时,它默认以生产环境模式运行。
    
    默认情况下,**自动重载是禁用的**。
    
    它将监听 IP 地址 `0.0.0.0`,即所有可用的 IP 地址,这样任何能够与该机器通信的人都可以公开访问它。这通常是你在生产环境中运行它的方式,例如在容器中运行。
    
    在大多数情况下,你会(且应该)有一个“终止代理”在上层为你处理 HTTPS,这取决于你如何部署应用程序,你的服务提供商可能会为你处理此事,或者你可能需要自己设置。
    
    /// tip | "提示"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/fr/docs/deployment/docker.md

    Dans ce cas, votre `Dockerfile` pourrait ressembler à ceci :
    
    ```Dockerfile
    FROM python:3.7
    
    RUN pip install fastapi uvicorn
    
    EXPOSE 80
    
    COPY ./app /app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    ## Créer le code **FastAPI**.
    
    * Créer un répertoire `app` et y entrer.
    * Créez un fichier `main.py` avec :
    
    ```Python
    from typing import Optional
    
    from fastapi import FastAPI
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. docs/ko/docs/deployment/server-workers.md

            ```Python
            import uvicorn.workers.UvicornWorker
            ```
    
    * `--bind`: 구니콘이 관찰할 IP와 포트를 의미합니다. 콜론 (`:`)을 사용하여 IP와 포트를 구분합니다.
        * 만약에 `--bind 0.0.0.0:80` (구니콘 옵션) 대신 유비콘을 직접 실행하고 싶다면 `--host 0.0.0.0`과 `--port 80`을 사용해야 합니다.
    
    출력에서 각 프로세스에 대한 **PID** (process ID)를 확인할 수 있습니다. (단순한 숫자입니다)
    
    출력 내용:
    
    * 구니콘 **프로세스 매니저**는 PID `19499`로 실행됩니다. (직접 실행할 경우 숫자가 다를 수 있습니다)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. docs/en/docs/fastapi-cli.md

    ## `fastapi run`
    
    Executing `fastapi run` starts FastAPI in production mode by default.
    
    By default, **auto-reload** is disabled. It also listens on the IP address `0.0.0.0`, which means all the available IP addresses, this way it will be publicly accessible to anyone that can communicate with the machine. This is how you would normally run it in production, for example, in a container.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. cmd/consolelogger.go

    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/pkg/v3/logger/message/log"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // number of log messages to buffer
    const defaultLogBufferCount = 10000
    
    // HTTPConsoleLoggerSys holds global console logger state
    type HTTPConsoleLoggerSys struct {
    	totalMessages  int64
    	failedMessages int64
    
    	sync.RWMutex
    	pubsub   *pubsub.PubSub[log.Info, madmin.LogMask]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                    for (final TimeoutTask task : getExpiredTask()) {
                        processTask(executorService, task);
                    }
                    Thread.sleep(1000L);
                }
            } catch (final InterruptedException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Interrupted.", e);
                }
            } finally {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/storage-errors.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    )
    
    // errMaxVersionsExceeded return error beyond 10000 (default) versions per object
    var errMaxVersionsExceeded = StorageErr("maximum versions exceeded, please delete few versions to proceed")
    
    // errUnexpected - unexpected error, requires manual intervention.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. internal/crypto/key_test.go

    	PartKey string
    }{
    	{PartID: 0, PartKey: "aa7855e13839dd767cd5da7c1ff5036540c9264b7a803029315e55375287b4af"},
    	{PartID: 1, PartKey: "a3e7181c6eed030fd52f79537c56c4d07da92e56d374ff1dd2043350785b37d8"},
    	{PartID: 10000, PartKey: "f86e65c396ed52d204ee44bd1a0bbd86eb8b01b7354e67a3b3ae0e34dd5bd115"},
    }
    
    func TestDerivePartKey(t *testing.T) {
    	var key ObjectKey
    	for i, test := range derivePartKeyTest {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/Name.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *                     "Christopher R. Hertel" <jcifs at samba dot org>
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
Back to top