Skip to content
Permalink
Browse files

name rqworker queue coil

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
Kwpolska committed Jan 24, 2015
1 parent 301993c commit eae642fdf82d0a038873166ed77a1c88a0fb26ce
Showing with 3 additions and 2 deletions.
  1. +1 −0 CHANGELOG.rst
  2. +1 −1 coil/web.py
  3. +1 −1 docs/admin/setup.rst
@@ -5,6 +5,7 @@ Appendix A. Changelog
master
------

* rqworker queue is now named ``coil`` (was ``default``)
* add trailing slashes to all URLs
* use ``url_for()``
* add ``/rebuild/force/`` (== ``nikola build -a``)
@@ -122,7 +122,7 @@ def configure_site():
app.config['REDIS_URL'] = _site.config.get('COIL_REDIS_URL',
'redis://localhost:6379/0')
db = redis.StrictRedis.from_url(app.config['REDIS_URL'])
q = rq.Queue(connection=db)
q = rq.Queue(name='coil', connection=db)

_site.template_hooks['menu'].append(generate_menu)
_site.template_hooks['menu_alt'].append(generate_menu_alt)
@@ -47,7 +47,7 @@ at boot, after Redis. Here is a sample ``.service`` file for systemd:

[Service]
Type=simple
ExecStart=/var/coil/bin/rqworker
ExecStart=/var/coil/bin/rqworker coil
User=nobody
Group=nobody

0 comments on commit eae642f

Please sign in to comment.
You can’t perform that action at this time.