Skip to content

Commit f34b892

Browse files
committed
added noctua-alliance-pathway-preview and allowed for better tuning of QS_ClientEventBlockCount
1 parent 9d5776b commit f34b892

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

production/config-stack.yaml.sample

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ stack:
1111
S3_BUCKET: REPLACE_ME_APACHE_LOG__BUCKET
1212

1313
USE_QOS: 1
14-
QS_ClientEventBlockCount: "350 300"
14+
QS_ClientEventBlockCount: 350
15+
QS_ClientEventBlockCountSeconds: 300
1516
QS_ClientEventBlockExcludeIP: "9.9.9.9"
1617

1718
minerva_java_opts: "-Xmx8G"
@@ -21,18 +22,20 @@ stack:
2122

2223
BLAZEGRAPH_JOURNAL: REPLACE_ME
2324

25+
# HTTP OR HTTPS
2426
noctua_host: REPLACE_ME # aes-test-noctua.geneontology.io
2527
noctua_lookup_url: REPLACE_ME # http://aes-test-noctua.geneontology.io
2628

2729

2830
# HTTP OR HTTPS
29-
barista_protocol: https
3031
github_client_id: 'REPLACE_ME'
3132
github_client_secret: 'REPLACE_ME'
32-
3333
github_callback_url: REPLACE_ME # https://aes-test-barista.geneontology.io/auth/github/callback
34+
35+
# HTTP OR HTTPS
3436
golr_lookup_url: REPLACE_ME # https://aes-test-golr.geneontology.io/solr
3537

38+
# HTTP OR HTTPS
3639
barista_lookup_host: REPLACE_ME # aes-test-barista.geneontology.io
3740
barista_lookup_url: REPLACE_ME # https://aes-test-barista.geneontology.io
3841
scripts: [ stage.yaml, start_services.yaml]

qos-vars.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ QS_ClientEventPerSecLimit: 10
1717
QS_ClientEventRequestLimit: 10
1818

1919
# Maximum requests allowed to / per ip address, per x seconds (number of requests, number of seconds)
20-
QS_ClientEventBlockCount: "350 300"
20+
QS_ClientEventBlockCount: 350
21+
QS_ClientEventBlockCountSeconds: 300
2122

2223
# IP addresses excluded from request limits (office IP address) seperated by blank space.
2324
QS_ClientEventBlockExcludeIP: "9.9.9.9 8.8.8.8"

templates/qos.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
QS_ClientEventPerSecLimit {{ QS_ClientEventRequestLimit }}
2323

2424
# Maximum requests allowed to / per ip address, per x seconds (number of requests, number of seconds)
25-
QS_ClientEventBlockCount {{ QS_ClientEventBlockCount }}
25+
QS_ClientEventBlockCount {{ QS_ClientEventBlockCount }} {{ QS_ClientEventBlockCountSeconds }}
2626

2727
</IfModule>

templates/startup.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ WORKBENCHES:
8181
type: list
8282
value:
8383
- '/stage_dir/noctua-form/workbenches'
84+
- '/stage_dir/noctua-visual-pathway-editor/workbenches'
85+
- '/stage_dir/noctua-alliance-pathway-preview/workbenches'
8486
- '/stage_dir/noctua-landing-page/workbenches'
8587
- 'workbenches'
8688
## Minerva operations preferences.

vars.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ staged_repos:
1414
noctua-models: master
1515
go-site: master
1616
noctua-visual-pathway-editor: master
17+
noctua-alliance-pathway-preview: master
1718

1819
################
1920
# minerva JAVA_OPTS

0 commit comments

Comments
 (0)