changeset 5054:f6f530720499

rename UpdateQueue class to PageQueue
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 29 Aug 2009 23:57:14 +0200
parents 508135789e41
children ce6ae8b5d9bd
files MoinMoin/search/builtin.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/builtin.py	Sat Aug 29 23:32:30 2009 +0200
+++ b/MoinMoin/search/builtin.py	Sat Aug 29 23:57:14 2009 +0200
@@ -25,7 +25,7 @@
 ##############################################################################
 
 
-class UpdateQueue:
+class PageQueue:
     """
     Represents a locked page queue on the disk
     """
@@ -124,8 +124,8 @@
         lock_dir = os.path.join(main_dir, 'index-lock')
         self.lock = lock.WriteLock(lock_dir, timeout=3600.0, readlocktimeout=60.0)
         #self.read_lock = lock.ReadLock(lock_dir, timeout=3600.0)
-        self.update_queue = UpdateQueue(request, main_dir, 'update-queue')
-        self.remove_queue = UpdateQueue(request, main_dir, 'remove-queue')
+        self.update_queue = PageQueue(request, main_dir, 'update-queue')
+        self.remove_queue = PageQueue(request, main_dir, 'remove-queue')
 
         # Disabled until we have a sane way to build the index with a
         # queue in small steps.