Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-9452: Enable STOMP for revision queue #587

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions conf/cmi/raven.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ trace: false
fatal_error_handler: false
fatal_error_handler_memory: 2560
javascript_error_handler: false
drush_error_handler: false
drush_error_handler: true
public_dsn: ''
ssl: verify_ssl
ca_cert: ''
ignored_channels: { }
send_user_data: false
rate_limit: 0
send_request_body: false
request_tracing: false
traces_sample_rate: null
request_tracing: true
traces_sample_rate: 0.2
browser_traces_sample_rate: null
database_tracing: false
twig_tracing: false
database_tracing: true
twig_tracing: true
auto_session_tracking: false
send_client_reports: false
drush_tracing: false
Expand All @@ -42,4 +42,6 @@ show_report_dialog: false
error_embed_url: ''
tunnel: false
modules: false
cron_monitor_id: ''
profiles_sample_rate: null
http_compression: true
1 change: 1 addition & 0 deletions docker/openshift/crons/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ exec "/crons/update-translations.sh" &
exec "/crons/content-scheduler.sh" &
exec "/crons/pubsub.sh" &
exec "/crons/linked-events.sh" &
exec "/crons/revision-queue.sh" &

while true
do
Expand Down
6 changes: 6 additions & 0 deletions docker/openshift/crons/revision-queue.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

(while true
do
drush stomp:worker helfi_api_base_revision --items-limit 100
done) &