##// END OF EJS Templates
fix typo in DictDB.size_limit...
MinRK -
Show More
@@ -103,11 +103,12 b' class DictDB(BaseDB):'
103 _culled_ids = set() # set of ids which have been culled
103 _culled_ids = set() # set of ids which have been culled
104 _buffer_bytes = Integer(0) # running total of the bytes in the DB
104 _buffer_bytes = Integer(0) # running total of the bytes in the DB
105
105
106 size_limit = Integer(1024*1024, config=True,
106 size_limit = Integer(1024**3, config=True,
107 help="""The maximum total size (in bytes) of the buffers stored in the db
107 help="""The maximum total size (in bytes) of the buffers stored in the db
108
108
109 When the db exceeds this size, the oldest records will be culled until
109 When the db exceeds this size, the oldest records will be culled until
110 the total size is under size_limit * (1-cull_fraction).
110 the total size is under size_limit * (1-cull_fraction).
111 default: 1 GB
111 """
112 """
112 )
113 )
113 record_limit = Integer(1024, config=True,
114 record_limit = Integer(1024, config=True,
General Comments 0
You need to be logged in to leave comments. Login now