Ask Solem преди 16 години
родител
ревизия
c562e546ac
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      docs/cookbook/tasks.rst

+ 4 - 3
docs/cookbook/tasks.rst

@@ -3,12 +3,13 @@
 ================
 
 
-Ensuring a task is only executed one at a time.
------------------------------------------------
+Ensuring a task is only executed one at a time
+----------------------------------------------
 
 You can accomplish this by using a lock.
 
-In this example we'll be using the cache framework to set a lock.
+In this example we'll be using the cache framework to set a lock that is
+accessible for all workers.
 
 It's part of an imaginary RSS Feed application called ``djangofeeds``.
 The task takes a feed URL as a single argument, and imports that feed into