diff roundup/configuration.py @ 4074:e039f3cbbb96

Make RDBMS cache-size configurable.
author Stefan Seefeld <stefan@seefeld.name>
date Tue, 24 Feb 2009 01:10:13 +0000
parents a5b68d46bce8
children 34434785f308
line wrap: on
line diff
--- a/roundup/configuration.py	Mon Feb 23 20:12:23 2009 +0000
+++ b/roundup/configuration.py	Tue Feb 24 01:10:13 2009 +0000
@@ -370,7 +370,7 @@
 
 class NullableOption(Option):
 
-    """Option that is set to None if it's string value is one of NULL strings
+    """Option that is set to None if its string value is one of NULL strings
 
     Default nullable strings list contains empty string only.
     There is constructor parameter allowing to specify different nullables.
@@ -592,8 +592,10 @@
         (NullableOption, 'read_default_group', 'roundup',
             "Name of the group to use in the MySQL defaults file (.my.cnf).\n"
             "Only used in MySQL connections."),
+        (IntegerNumberOption, 'cache_size', '100',
+            "Size of the node cache (in elements)"),
     ), "Settings in this section are used"
-        " by Postgresql and MySQL backends only"
+        " by RDBMS backends only"
     ),
     ("logging", (
         (FilePathOption, "config", "",
@@ -874,7 +876,7 @@
             _options.append(_name)
         # (section, name) key is used for writing .ini file
         self.options[(_section, _name)] = option
-        # make the option known under all of it's A.K.A.s
+        # make the option known under all of its A.K.A.s
         for _name in option.aliases:
             self.options[_name] = option
 

Roundup Issue Tracker: http://roundup-tracker.org/