Skip to content

globocom/tc_redis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis storage adapters

Circle CI

Thumbor redis storage adapters.

Installation

pip install tc_redis

Configuration

To use redis as a storage or result storage some values must be configured in thumbor.conf

Redis Storage
STORAGE='tc_redis.storages.redis_storage'

REDIS_STORAGE_IGNORE_ERRORS = True
REDIS_STORAGE_SERVER_PORT = 6379
REDIS_STORAGE_SERVER_HOST = 'localhost'
REDIS_STORAGE_SERVER_DB = 0
REDIS_STORAGE_SERVER_PASSWORD = None
Redis Result Storage
RESULT_STORAGE='tc_redis.result_storages.redis_result_storage'

REDIS_RESULT_STORAGE_IGNORE_ERRORS = True
REDIS_RESULT_STORAGE_SERVER_PORT = 6379
REDIS_RESULT_STORAGE_SERVER_HOST = 'localhost'
REDIS_RESULT_STORAGE_SERVER_DB = 0
REDIS_RESULT_STORAGE_SERVER_PASSWORD = None

Packages

No packages published

Languages

  • Python 100.0%