Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for notice (1.01 sec)

  1. cmd/xl-storage_noatime_supported.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    var (
    	// Disallow updating access times
    	readMode = os.O_RDONLY | 0x40000 // O_NOATIME
    
    	// Write with data sync only used only for `xl.meta` writes
    	writeMode = 0x1000 // O_DSYNC
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1K bytes
    - Viewed (0)
  2. internal/event/target/webhook.go

    	EnvWebhookEnable     = "MINIO_NOTIFY_WEBHOOK_ENABLE"
    	EnvWebhookEndpoint   = "MINIO_NOTIFY_WEBHOOK_ENDPOINT"
    	EnvWebhookAuthToken  = "MINIO_NOTIFY_WEBHOOK_AUTH_TOKEN"
    	EnvWebhookQueueDir   = "MINIO_NOTIFY_WEBHOOK_QUEUE_DIR"
    	EnvWebhookQueueLimit = "MINIO_NOTIFY_WEBHOOK_QUEUE_LIMIT"
    	EnvWebhookClientCert = "MINIO_NOTIFY_WEBHOOK_CLIENT_CERT"
    	EnvWebhookClientKey  = "MINIO_NOTIFY_WEBHOOK_CLIENT_KEY"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. docs/debugging/reorder-disks/main.go

    		if err != nil {
    			log.Printf("skipping `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		devName := mountMap[mami]
    		uuid := uuidMap[devName]
    		fmt.Printf("UUID=%s\t%s\txfs\tdefaults,noatime\t0\t2\n", uuid, expectedDiskName)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. internal/ioutil/read_file_noatime_notsupported.go

    Harshavardhana <******@****.***> 1629336922 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 893 bytes
    - Viewed (0)
  5. internal/event/target/mqtt.go

    	EnvMQTTEnable            = "MINIO_NOTIFY_MQTT_ENABLE"
    	EnvMQTTBroker            = "MINIO_NOTIFY_MQTT_BROKER"
    	EnvMQTTTopic             = "MINIO_NOTIFY_MQTT_TOPIC"
    	EnvMQTTQoS               = "MINIO_NOTIFY_MQTT_QOS"
    	EnvMQTTUsername          = "MINIO_NOTIFY_MQTT_USERNAME"
    	EnvMQTTPassword          = "MINIO_NOTIFY_MQTT_PASSWORD"
    	EnvMQTTReconnectInterval = "MINIO_NOTIFY_MQTT_RECONNECT_INTERVAL"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser.go

    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	var e error
    	// Save date in native time.Time.
    	preSignV4Values.Date, e = time.Parse(iso8601Format, query.Get(xhttp.AmzDate))
    	if e != nil {
    		return psv, ErrMalformedPresignedDate
    	}
    
    	// Save expires in native time.Duration.
    	preSignV4Values.Expires, e = time.ParseDuration(query.Get(xhttp.AmzExpires) + "s")
    	if e != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  7. cmd/os_unix.go

    		}
    		if !osIsPermission(err) {
    			return osErrToFileErr(err)
    		}
    		// There may be permission error when dirPath
    		// is at the root of the disk mount that may
    		// not have the permissions to avoid 'noatime'
    		fd, err = openFileWithFD(dirPath, os.O_RDONLY, 0o666)
    		if err != nil {
    			if osErrToFileErr(err) == errFileNotFound {
    				return nil
    			}
    			return osErrToFileErr(err)
    		}
    
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. internal/event/targetlist.go

    	"context"
    	"fmt"
    	"runtime"
    	"sync"
    	"sync/atomic"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/store"
    	"github.com/minio/pkg/v2/workers"
    )
    
    const (
    	logSubsys = "notify"
    
    	// The maximum allowed number of concurrent Send() calls to all configured notifications targets
    	maxConcurrentAsyncSend = 50000
    )
    
    // Target - event target interface
    type Target interface {
    	ID() TargetID
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  9. internal/logger/logonce.go

    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		logIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    // Cleanup the map every one hour so that the log message is printed again for the user to notice.
    func (l *logOnceType) cleanupRoutine() {
    	for {
    		time.Sleep(time.Hour)
    
    		l.Lock()
    		l.IDMap = make(map[string]onceErr)
    		l.Unlock()
    	}
    }
    
    // Returns logOnceType
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils_test.go

    	disks := z.serverPools[0].GetDisks(0)()
    	distribution := []int{16, 14, 12, 10, 8, 6, 4, 2, 1, 3, 5, 7, 9, 11, 13, 15}
    	shuffledDisks := shuffleDisks(disks, distribution)
    	// From the "distribution" above you can notice that:
    	// 1st data block is in the 9th disk (i.e distribution index 8)
    	// 2nd data block is in the 8th disk (i.e distribution index 7) and so on.
    	if shuffledDisks[0] != disks[8] ||
    		shuffledDisks[1] != disks[7] ||
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top