Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updating (0.23 sec)

  1. internal/cachevalue/cache.go

    	if t.opts.NoWait && v != nil && tNow-vTime < ttl.Milliseconds()*2 && (v.e == nil || t.opts.CacheError) {
    		if t.updating.TryLock() {
    			go func() {
    				defer t.updating.Unlock()
    				t.update()
    			}()
    		}
    		return v.v, v.e
    	}
    
    	// Get lock. Either we get it or we wait for it.
    	t.updating.Lock()
    	if time.Since(time.UnixMilli(t.lastUpdateMs.Load())) < ttl {
    		// There is a new value, release lock and return it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. docs/compression/README.md

    ## Get Started
    
    ### 1. Prerequisites
    
    Install MinIO - [MinIO Quickstart Guide](https://min.io/docs/minio/linux/index.html#quickstart-for-linux).
    
    ### 2. Run MinIO with compression
    
    Compression can be enabled by updating the `compress` config settings for MinIO server config.
    Config `compress` settings take extensions and mime-types to be compressed.
    
    ```bash
    ~ mc admin config get myminio compression
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top