lab5: ограничение одновременных upload-spool и evidence после ревью
Process-level semaphore bounds temporary disk use on the upload path; refresh raw evidence after the review fixes.
This commit is contained in:
@@ -105,6 +105,7 @@ type Admission struct {
|
||||
MaxPendingPerUser int `mapstructure:"max_pending_per_user" validate:"required,gte=0"`
|
||||
MaxPending int `mapstructure:"max_pending" validate:"required,gte=0"`
|
||||
MaxStagedBytes int64 `mapstructure:"max_staged_bytes" validate:"required,gte=0"`
|
||||
MaxConcurrent int `mapstructure:"max_concurrent_uploads" validate:"omitempty,gt=0"`
|
||||
}
|
||||
|
||||
// S3 describes the object store and attachment limits. Access keys are checked
|
||||
|
||||
Reference in New Issue
Block a user