Skip to content

Commit

Permalink
name rqworker queue coil
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 24, 2015
1 parent 301993c commit eae642f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Expand Up @@ -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``)
Expand Down
2 changes: 1 addition & 1 deletion coil/web.py
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/setup.rst
Expand Up @@ -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
Expand Down

0 comments on commit eae642f

Please sign in to comment.