constants

package
v0.0.0-...-dec4d7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2014 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package constants contains Camlistore constants.

This is a leaf package, without dependencies.

Index

Constants

View Source
const DefaultMaxResizeMem = 256 << 20

DefaultMaxResizeMem is the default maximum number of bytes that will be allocated at peak for uncompressed pixel data while generating thumbnails or other resized images.

If a single image is larger than the configured size for an ImageHandler, we'll never successfully resize it. 256M is a max image of ~9.5kx9.5k*3.

View Source
const MaxBlobSize = 16 << 20

MaxBlobSize is the max size of a single blob in Camlistore, in bytes.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL