Add nameko config

This commit is contained in:
PCoder 2019-02-23 13:20:55 +01:00
parent aec394fc20
commit eabf24946b
1 changed files with 11 additions and 0 deletions

View File

@ -138,6 +138,17 @@ AUTH_LDAP_USER_ATTR_MAP = {
"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 = {
'disable_existing_loggers': False,
'version': 1,