Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 721 - 730 of 1,577 for Config (0.06 seconds)

  1. docs/zh/docs/advanced/settings.md

    在某些情况下,从依赖项中提供设置可能更有用,而不是在所有地方都使用一个全局的 `settings` 对象。
    
    这在测试期间尤其有用,因为可以很容易地用你自己的自定义设置覆盖依赖项。
    
    ### 配置文件 { #the-config-file }
    
    延续上一个示例,你的 `config.py` 文件可能如下所示:
    
    {* ../../docs_src/settings/app02_an_py310/config.py hl[10] *}
    
    注意,现在我们不再创建默认实例 `settings = Settings()`。
    
    ### 主应用文件 { #the-main-app-file }
    
    现在我们创建一个依赖项,返回一个新的 `config.Settings()`。
    
    {* ../../docs_src/settings/app02_an_py310/main.py hl[6,12:13] *}
    
    /// tip | 提示
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. cmd/bucket-replication.go

    	}
    }
    
    type replicationConfig struct {
    	Config  *replication.Config
    	remotes *madmin.BucketTargets
    }
    
    func (c replicationConfig) Empty() bool {
    	return c.Config == nil
    }
    
    func (c replicationConfig) Replicate(opts replication.ObjectOpts) bool {
    	return c.Config.Replicate(opts)
    }
    
    // Resync returns true if replication reset is requested
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  3. cmd/lock-rest-server-common_test.go

    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	locker := &lockRESTServer{
    		ll: &localLocker{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string][]lockRequesterInfo),
    		},
    	}
    	creds := globalActiveCred
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. docs/throttle/README.md

    ```sh
    export MINIO_API_REQUESTS_MAX=1600
    export MINIO_ROOT_USER=your-access-key
    export MINIO_ROOT_PASSWORD=your-secret-key
    minio server http://server{1...8}/mnt/hdd{1...16}
    ```
    
    or
    
    ```sh
    mc admin config set myminio/ api requests_max=1600
    mc admin service restart myminio/
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 16 08:43:49 GMT 2024
    - 1.5K bytes
    - Click Count (1)
  5. cmd/admin-handler-utils.go

    			Code:           "XMinioMalformedIAMPolicy",
    			Description:    e.Error(),
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	case config.ErrConfigNotFound:
    		apiErr = APIError{
    			Code:           "XMinioConfigNotFoundError",
    			Description:    e.Error(),
    			HTTPStatusCode: http.StatusNotFound,
    		}
    	case config.ErrConfigGeneric:
    		apiErr = APIError{
    			Code:           "XMinioConfigError",
    			Description:    e.Error(),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 03 07:17:20 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            class TestSmb2ReadResponse extends Smb2ReadResponse {
                boolean errorResponseCalled = false;
    
                TestSmb2ReadResponse(Configuration config, byte[] outputBuffer, int outputBufferOffset) {
                    super(config, outputBuffer, outputBufferOffset);
                }
    
                @Override
                protected int readErrorResponse(byte[] buf, int bufIndex) throws SMBProtocolDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/fake_elasticsearch.tar.gz

    fake_elasticsearch.tar elasticsearch-1.2.3/config/jvm.options ## JVM configuration ########## ## IMPORTANT: JVM heap size ########## ## ## You should always set the min and max JVM heap ## size to the same value. For example, to set ## the heap to 4 GB, set: ## ## -Xms4g ## -Xmx4g ## ## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html ## for more information ## ########## # Xms represents the initial size of total heap space # Xmx represents the maximum size of...
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

    /**
     * Service class for Kuromoji.
     */
    public class KuromojiService {
        /** The dictionary manager. */
        @Resource
        protected DictionaryManager dictionaryManager;
    
        /** The Fess config. */
        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Default constructor.
         */
        public KuromojiService() {
            // do nothing
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. internal/config/certsinfo.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package config
    
    import (
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"fmt"
    	"net/http"
    	"strings"
    
    	color "github.com/minio/minio/internal/color"
    )
    
    // Extra ASN1 OIDs that we may need to handle
    var (
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/elasticsearch.fips.gradle

    import org.elasticsearch.gradle.internal.info.BuildParams
    import org.elasticsearch.gradle.testclusters.TestDistribution
    import org.elasticsearch.gradle.testclusters.TestClustersAware
    
    // Common config when running with a FIPS-140 runtime JVM
    if (BuildParams.inFipsJvm) {
    
      allprojects {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 21 11:03:02 GMT 2021
    - 4.8K bytes
    - Click Count (0)
Back to Top