Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
eff5587f
Unverified
Commit
eff5587f
authored
7 years ago
by
Cam Saul
Browse files
Options
Downloads
Patches
Plain Diff
Don't set max heap size unless testing; only reload src/ for dev server
parent
95753b20
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
project.clj
+6
-5
6 additions, 5 deletions
project.clj
with
6 additions
and
5 deletions
project.clj
+
6
−
5
View file @
eff5587f
...
...
@@ -116,7 +116,8 @@
:uberjar-name
"metabase.jar"
:ring
{
:handler
metabase.core/app
:init
metabase.core/init!
:destroy
metabase.core/destroy
}
:destroy
metabase.core/destroy
:reload-paths
[
"src"
]}
:eastwood
{
:exclude-namespaces
[
:test-paths
metabase.driver.generic-sql
]
; ISQLDriver causes Eastwood to fail. Skip this ns until issue is fixed: https://github.com/jonase/eastwood/issues/191
:add-linters
[
:unused-private-vars
...
...
@@ -142,16 +143,16 @@
:exclusions
[
org.clojure/clojure
org.clojure/tools.namespace
]]]
:env
{
:mb-run-mode
"dev"
}
:jvm-opts
[
"-Dlogfile.path=target/log"
"-Xms1024m"
; give JVM a decent heap size to start with
"-Xmx2048m"
]
; hard limit of 2GB so we stop hitting the 4GB container limit on CircleCI
:jvm-opts
[
"-Dlogfile.path=target/log"
]
:aot
[
metabase.logger
]}
; Log appender class needs to be compiled for log4j to use it
:reflection-warnings
{
:global-vars
{
*warn-on-reflection*
true
}}
; run `lein check-reflection-warnings` to check for reflection warnings
:expectations
{
:injections
[(
require
'metabase.test-setup
)]
:resource-paths
[
"test_resources"
]
:env
{
:mb-test-setting-1
"ABCDEFG"
:mb-run-mode
"test"
}
:jvm-opts
[
"-Duser.timezone=UTC"
:jvm-opts
[
"-Xms1024m"
; give JVM a decent heap size to start with
"-Xmx2048m"
; hard limit of 2GB so we stop hitting the 4GB container limit on CircleCI
"-Duser.timezone=UTC"
"-Dmb.db.in.memory=true"
"-Dmb.jetty.join=false"
"-Dmb.jetty.port=3010"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment