Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
39b6f7ed
Unverified
Commit
39b6f7ed
authored
Mar 28, 2018
by
Kevin Falcone
Committed by
GitHub
Mar 28, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4433 from edx/jibsheet/xqueue-connection-pooling
Make sure XQueue can enable connection pooling
parents
13fcae0d
68e53dee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
CHANGELOG.md
+2
-0
playbooks/roles/xqueue/defaults/main.yml
+3
-0
No files found.
CHANGELOG.md
View file @
39b6f7ed
-
Role: xqueue
-
Added XQUEUE_MYSQL_CONN_MAX_AGE so that you can have xqueue use django's persistent DB connections
-
Role: edxapp
-
Added empty
`EDXAPP_PASSWORD_COMPLEXITY`
setting to ease overriding complexity.
...
...
playbooks/roles/xqueue/defaults/main.yml
View file @
39b6f7ed
...
...
@@ -53,6 +53,8 @@ XQUEUE_MYSQL_PASSWORD: 'password'
XQUEUE_MYSQL_HOST
:
'
localhost'
XQUEUE_MYSQL_PORT
:
'
3306'
XQUEUE_MYSQL_OPTIONS
:
{}
XQUEUE_MYSQL_CONN_MAX_AGE
:
0
# This is Django's default https://docs.djangoproject.com/en/1.11/ref/settings/#conn-max-age
XQUEUE_NEWRELIC_APPNAME
:
"
{{
COMMON_ENVIRONMENT
}}-{{
COMMON_DEPLOYMENT
}}-xqueue"
XQUEUE_SETTINGS_MODULE
:
"
xqueue.aws_settings"
# Set the number of workers explicitely for xqueue
...
...
@@ -121,6 +123,7 @@ xqueue_auth_config:
HOST
:
"
{{
XQUEUE_MYSQL_HOST
}}"
PORT
:
"
{{
XQUEUE_MYSQL_PORT
}}"
ATOMIC_REQUESTS
:
True
CONN_MAX_AGE
:
"
{{
XQUEUE_MYSQL_CONN_MAX_AGE
}}"
OPTIONS
:
"
{{
XQUEUE_MYSQL_OPTIONS
}}"
RABBITMQ_USER
:
"
{{
XQUEUE_RABBITMQ_USER
}}"
RABBITMQ_PASS
:
"
{{
XQUEUE_RABBITMQ_PASS
}}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment