Browse Source

Sidekiq config

development
Godwin 8 years ago
parent
commit
00005d3261
  1. 1
      app/assets/images/admin/group_ride.svg
  2. 5
      app/views/conference_administration/_group_ride.html.haml
  3. 13
      config/sidekiq.yml
  4. 6
      config/sidekiq_preview.yml
  5. 6
      config/sidekiq_production.yml

1
app/assets/images/admin/group_ride.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M82.3 58c-1.4 0-2.7.3-4 .7l-3.7-8 .6-1.7h3.4v-2.3h-5.4c.6-.7 1-1.6 1-2.6v-.7L72 33l-.2-.3c-.6-3.2-3.6-5.2-6.7-4.6-3 .7-5 3.6-4.6 6.6v.3l.4 2-6.5 6v.2c-.3.2-.5.5-.6.8H53c-1 0-2.6.4-3.8 1.7l.2-.6v-.2-.7-.7l-2-10.3v-.3c-.7-3.2-3.7-5.2-6.8-4.6-3 .7-5 3.6-4.6 6.6v.3l.5 2-6.7 6v.2c-.3.2-.4.5-.6.8h-.7c-1.3 0-4 .8-5 3.7l-3.4 10.6-2.5-.2C10.8 58 5 64 5 71c0 7 5.7 12.8 12.8 12.8 7 0 12.7-5.7 12.7-12.8 0-5.2-3-9.6-7.6-11.6l1-3c4.8 5.8 7.7 9 9.5 11l.7 3.6 2-.4c1.6 1.3 3.2 1.7 5 1.8l.2 4 4.4-.3-.2-3.8H65.5l.2 4 4.5-.3v-1.2c1.5 5 6.3 8.8 12 8.8 7 0 12.7-5.7 12.7-12.8 0-7-5.7-12.7-12.7-12.7zM27.8 71c0 5.6-4.5 10-10 10-5.6 0-10-4.4-10-10 0-5.5 4.4-10 10-10 .6 0 1 0 1.7.2l-3 9.4v.4c0 .8.5 1.4 1.3 1.4.6 0 1-.4 1.3-1l3-9.4c3.5 1.6 5.8 5 5.8 9zm52.4-1.3h-7.9c.4-3 2-5.6 4.6-7l3.2 7zM51 48.5c.4-1.7 2-1.8 2.2-1.8h4.5v-1l4.3-4 .8 3.8.4 2-3.8 3.3H50l1-2.3zm-24.6 0c.5-1.7 2-1.8 2.3-1.8h4.5v-1l4.4-4 1 5.8-3.7 3.3h-9.4l.8-2.3zm-1.3 5H32l-.4.3c-.3.4-.5 1-.5 1.4v.3l1.3 6.3c-2.4-2.8-5-6-7.2-8.3zm15.5 16c-1-.3-1.6-.5-2.2-1L36 57.8l5-4.5h1L40.4 60v.5l.4 7.8-.5 1zm7.8 0h-3l-.3-5L49 54.4l1.8 4 .7 1.6 3 6.5 1.4 3h-7.4zm8.3-4.7l-4.8-10.5-.3-.8h4.7l-.3.3c-.4.4-.6 1-.6 1.4v.3l2.7 12.7-1.4-3.4zm8.4 4.7h-2L60.5 58l5-4.5h1L64.8 60v.5l.4 7.8-.4 1.2zm4.6-5l3.7-10.2 2.5 5.6c-3 1.7-5.3 4.7-6 8.3l-.2-3.7zM82.3 81c-5 0-9.2-3.7-10-8.6h9.9c.7 0 1.4-.6 1.4-1.4 0-.2 0-.4-.2-.5l-4-9c.8-.3 1.8-.5 2.8-.5 5.5 0 10 4.5 10 10 0 5.6-4.5 10-10 10zM63.7 27.3c3 0 5.4-2.4 5.4-5.4s-2.4-5.5-5.3-5.5c-3 0-5.4 2.4-5.4 5.4s2.4 5.3 5.4 5.3zm0-8.5c1.7 0 3 1.4 3 3s-1.3 3.2-3 3.2-3-1.4-3-3 1.3-3.2 3-3.2zm-24.5 8.5c3 0 5.4-2.4 5.4-5.4s-2.4-5.5-5.4-5.5-5.4 2.4-5.4 5.4 2.5 5.3 5.4 5.3zm0-8.5c1.7 0 3 1.4 3 3S41 25 39.3 25s-3-1.4-3-3 1.3-3.2 3-3.2z"/></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

5
app/views/conference_administration/_group_ride.html.haml

@ -0,0 +1,5 @@
= columns(medium: 12) do
= admin_update_form do
= translate_textarea :group_ride_info, @this_conference, label: 'articles.conference_registration.headings.admin.edit.group_ride', help: 'articles.conference_registration.paragraphs.admin.edit.group_ride', edit_on: :focus
.actions.right
= button :save, value: :save

13
config/sidekiq.yml

@ -1,13 +0,0 @@
---
:concurrency: 5
:logfile: log/sidekiq.log
preview:
:pidfile: /home/unicorn/sidekiq_preview.pid
:concurrency: 15
:queues:
- preview
production:
:pidfile: /home/unicorn/sidekiq_production.pid
:concurrency: 15
:queues:
- production

6
config/sidekiq_preview.yml

@ -0,0 +1,6 @@
---
:logfile: log/sidekiq.log
:pidfile: /home/unicorn/sidekiq_preview.pid
:concurrency: 15
:queues:
- preview

6
config/sidekiq_production.yml

@ -0,0 +1,6 @@
---
:logfile: log/sidekiq.log
:pidfile: /home/unicorn/sidekiq_production.pid
:concurrency: 15
:queues:
- production
Loading…
Cancel
Save