Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 310 for preload (0.12 sec)

  1. docs_src/security/tutorial005_py39.py

            headers={"WWW-Authenticate": authenticate_value},
        )
        try:
            payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
            username: str = payload.get("sub")
            if username is None:
                raise credentials_exception
            token_scopes = payload.get("scopes", [])
            token_data = TokenData(scopes=token_scopes, username=username)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ hypercorn main:app --bind 0.0.0.0:80
    
    Running on 0.0.0.0:8080 over http (CTRL + C to quit)
    ```
    
    </div>
    
    ////
    
    /// warning
    
    如果您正在使用`--reload`选项,请记住删除它。
    
     `--reload` 选项消耗更多资源,并且更不稳定。
    
     它在**开发**期间有很大帮助,但您**不应该**在**生产环境**中使用它。
    
    ///
    
    ## Hypercorn with Trio
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/tier-handlers.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL)
    		return
    	}
    
    	// Refresh from the disk in case we had missed notifications about edits from peers.
    	if err := globalTierConfigMgr.Reload(ctx, objAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	err = globalTierConfigMgr.Add(ctx, cfg, ignoreInUse)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-meta-inline.go

    		}
    	}
    	payload := make([]byte, 1, plSize)
    	payload[0] = xlMetaInlineDataVer
    	payload = msgp.AppendMapHeader(payload, uint32(len(keys)))
    	for i := range keys {
    		payload = msgp.AppendStringFromBytes(payload, keys[i])
    		payload = msgp.AppendBytes(payload, vals[i])
    	}
    	*x = payload
    }
    
    // entries returns the number of entries in the data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/pt/docs/deployment/manually.md

    Cada programa de servidor ASGI alternativo teria um comando semelhante, você pode ler mais na documentação respectiva.
    
    /// warning | "Aviso"
    
    Uvicorn e outros servidores suportam a opção `--reload` que é útil durante o desenvolvimento.
    
    A opção `--reload` consome muito mais recursos, é mais instável, etc.
    
    Ela ajuda muito durante o **desenvolvimento**, mas você **não deve** usá-la em **produção**.
    
    ///
    
    ## Conceitos de Implantação
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/websockets.md

    ```Python hl_lines="48-52"
    {!../../docs_src/websockets/tutorial001.py!}
    ```
    
    您可以接收和发送二进制、文本和 JSON 数据。
    
    ## 尝试一下
    
    如果您的文件名为 `main.py`,请使用以下命令运行应用程序:
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    在浏览器中打开 <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/packaging/common/scripts/postinst

        if command -v systemctl >/dev/null; then
            echo "### NOT starting on installation, please execute the following statements to configure fess service to start automatically using systemd"
            echo " sudo systemctl daemon-reload"
            echo " sudo systemctl enable fess.service"
            echo "### You can start fess service by executing"
            echo " sudo systemctl start fess.service"
    
        elif command -v chkconfig >/dev/null; then
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 3.1K bytes
    - Viewed (0)
  8. cmd/tier.go

    	}
    
    	return pReader, opts, nil
    }
    
    // Reload updates config by reloading remote tier config from config store.
    func (config *TierConfigMgr) Reload(ctx context.Context, objAPI ObjectLayer) error {
    	newConfig, err := loadTierConfig(ctx, objAPI)
    
    	config.Lock()
    	defer config.Unlock()
    
    	switch err {
    	case nil:
    		break
    	case errConfigNotFound: // nothing to reload
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. cmd/iam.go

    }
    
    // LoadUser - reloads a specific user from backend disks or etcd.
    func (sys *IAMSys) LoadUser(ctx context.Context, objAPI ObjectLayer, accessKey string, userType IAMUserType) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    	return sys.store.UserNotificationHandler(ctx, accessKey, userType)
    }
    
    // LoadServiceAccount - reloads a specific service account from backend disks or etcd.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

       * of refreshes are specified in {@link LoadingCache#refresh}, and are performed by calling {@link
       * CacheLoader#reload}.
       *
       * <p>As the default implementation of {@link CacheLoader#reload} is synchronous, it is
       * recommended that users of this method override {@link CacheLoader#reload} with an asynchronous
       * implementation; otherwise refreshes will be performed during unrelated cache read and write
       * operations.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
Back to top