Add nameko config
This commit is contained in:
parent
aec394fc20
commit
eabf24946b
1 changed files with 11 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue