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
8c79f35a
Commit
8c79f35a
authored
May 03, 2017
by
Feanil Patel
Committed by
GitHub
May 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3850 from edx/feanil/make_gocd_jvm_memory_configurable
Make the gocd jvm max memory configurable.
parents
ae010685
b2b6c1e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
playbooks/roles/go-server/defaults/main.yml
+3
-0
playbooks/roles/go-server/tasks/main.yml
+6
-2
No files found.
playbooks/roles/go-server/defaults/main.yml
View file @
8c79f35a
...
...
@@ -98,3 +98,6 @@ GO_SERVER_ADMIN_USERS: ["admin"]
# key for go-agents to autoregister with the go-server
GO_SERVER_AUTO_REGISTER_KEY
:
"
dev-only-override-this-key"
# The maximum amount of memory used by the go-server."
GO_SERVER_MAX_MEM
:
"
1024m"
playbooks/roles/go-server/tasks/main.yml
View file @
8c79f35a
...
...
@@ -161,14 +161,18 @@
lineinfile
:
destfile
:
/etc/default/go-server
regexp
:
"
^export
GO_SERVER_SYSTEM_PROPERTIES=*"
line
:
"
export
GO_SERVER_SYSTEM_PROPERTIES='-Dgo.config.repo.gc.cron=
\"
0
0
2
?
*
SAT
\"
-Dgo.config.repo.gc.periodic=
\"
Y
\"
'"
line
:
"
export
GO_SERVER_SYSTEM_PROPERTIES='-
Xmx{{GO_SERVER_MAX_MEM}}
-
Dgo.config.repo.gc.cron=
\"
0
0
2
?
*
SAT
\"
-Dgo.config.repo.gc.periodic=
\"
Y
\"
'"
tags
:
-
environment_variables
-
install
-
install:app-configuration
-
name
:
restart go-server
service
:
name
:
"
{{
GO_SERVER_SERVICE_NAME
}}"
state
:
restarted
tags
:
-
install
-
install:app-configuration
-
include
:
setup_regular_backup.yml
when
:
GO_SERVER_BACKUP_S3_BUCKET and GO_SERVER_BACKUP_S3_OBJECT and GO_SERVER_CONFIGURE_BACKUPS
...
...
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