Skip to content

Commit a66a8bf

Browse files
Fix logic error in shoryuken.sh
1 parent 42e09f4 commit a66a8bf

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

app/controllers/events_controller.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
class EventsController < ApplicationController
44
def index
5-
Rails.logger.info("EventsController#index called")
6-
Rails.logger.info("EventsController#index testing logging")
75
message = { data: { action: "events#index" } }
86

97
render(json: message)

vendor/docker/shoryuken.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/bin/sh
22
cd /home/app/webapp
33
exec 2>&1
4-
# Disabled with DISABLE_QUEUE_WORKER, start shoryuken
5-
# if [ "$DISABLE_QUEUE_WORKER" = "true" ]; then
6-
# exec /sbin/setuser app bundle exec shoryuken -R -C config/shoryuken.yml
7-
# fi
84

9-
exec /sbin/setuser app bundle exec shoryuken -R -C config/shoryuken.yml
5+
# Disabled with DISABLE_QUEUE_WORKER, start shoryuken
6+
if [ "$DISABLE_QUEUE_WORKER" != "true" ]; then
7+
exec /sbin/setuser app bundle exec shoryuken -R -C config/shoryuken.yml
8+
fi

0 commit comments

Comments
 (0)