Add nameko config

This commit is contained in:
PCoder 2019-02-23 13:20:55 +01:00
parent aec394fc20
commit eabf24946b

View file

@ -138,6 +138,17 @@ AUTH_LDAP_USER_ATTR_MAP = {
"email": "mail" "email": "mail"
} }
# Config to be passed to ClusterRpcProxy
NAMEKO_CONFIG = {
'AMQP_URL': 'amqp://127.0.0.1:5672/'
}
# Number of proxies to create
# Each proxy is a single threaded standalone ClusterRpcProxy
NAMEKO_POOL_SIZE = 4
# Set timeout for RPC
NAMEKO_TIMEOUT = 15 # timeout 15 seconds
LOGGING = { LOGGING = {
'disable_existing_loggers': False, 'disable_existing_loggers': False,
'version': 1, 'version': 1,