Browse Source

More doc cleanup

David Cramer 11 years ago
parent
commit
7a5b68e7ac
2 changed files with 11 additions and 7 deletions
  1. 2 2
      docs/buffer/index.rst
  2. 9 5
      docs/queue/index.rst

+ 2 - 2
docs/buffer/index.rst

@@ -1,5 +1,5 @@
-Utilizing Update Buffers
-========================
+Update Buffers
+==============
 
 Sentry provides the ability to buffer certain updates to events, such as counts and timestamps. This is
 extremely helpful if you have high concurrency, especially if they're frequently the same event.

+ 9 - 5
docs/queue/index.rst

@@ -1,5 +1,5 @@
-Utilizing the Queue
-===================
+Queuing Work
+============
 
 Sentry comes with a built-in queue to process tasks in a more asynchronous
 fashion. For example, with workers enabled, when an event comes in instead
@@ -19,13 +19,15 @@ which is the worker manager process of the Celery library.
 
     sentry celery worker -B
 
-.. note:: You will need to run both celery workers and celerybeat.
+.. note:: You will need to run both celery workers and celerybeat. In our example, the -B flag runs a beat instance.
 
 Enable the Queue
 ----------------
 
 Once you've brought up a worker, the next step is to enable the queue. This is
-done with a simple settings flag::
+done with a simple settings flag:
+
+::
 
     CELERY_ALWAYS_EAGER = False
 
@@ -34,6 +36,8 @@ rely on the database, and move to something more efficient. These are documented
 details as part of the `Celery documentation <http://celeryproject.org/>`_, but something simple
 like Redis will do just fine.
 
-An example configuration using a local Redis server might look like this::
+An example configuration using a local Redis server might look like this:
+
+::
 
     BROKER_URL = "redis://localhost:6379/0"