github.com/juju/juju@v0.0.0-20240327075706-a90865de2538/core/quota/fixed_limits.go (about)

     1  // Copyright 2020 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package quota
     5  
     6  const (
     7  	// MaxCharmStateKeySize describes the max allowed key length for each
     8  	// entry that a charm attempts to persist to the controller.
     9  	MaxCharmStateKeySize = 256
    10  
    11  	// MaxCharmStateValueSize describes the max allowed value length for
    12  	// each entry that a charm attempts to persist to the controller.
    13  	MaxCharmStateValueSize = 64 * 1024
    14  )