瀏覽代碼

Cosmetic changes

Ask Solem 15 年之前
父節點
當前提交
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