Commit bed11cba authored by Jim Fulton's avatar Jim Fulton

typos

parent bcad8cd3
...@@ -379,16 +379,16 @@ class DB(object): ...@@ -379,16 +379,16 @@ class DB(object):
When a connection has remained unused in a connection When a connection has remained unused in a connection
pool for more than pool_timeout seconds, it will be pool for more than pool_timeout seconds, it will be
discarded and it's resources released. discarded and it's resources released.
:param objects cache_size`: target maximum number of non-ghost :param objects cache_size: target maximum number of non-ghost
objects in each connection object cache. objects in each connection object cache.
:param int cache_size_bytes`: target total memory usage of non-ghost :param int cache_size_bytes: target total memory usage of non-ghost
objects in each connection object cache. objects in each connection object cache.
:param int historical_pool_size`: expected maximum number of total :param int historical_pool_size: expected maximum number of total
historical connections historical connections
:param objects historical_cache_size`: target maximum number :param objects historical_cache_size: target maximum number
of non-ghost objects in each historical connection object of non-ghost objects in each historical connection object
cache. cache.
:param int historical_cache_size_bytes`: target total memory :param int historical_cache_size_bytes: target total memory
usage of non-ghost objects in each historical connection usage of non-ghost objects in each historical connection
object cache. object cache.
:param seconds historical_timeout: Maximum age of inactive :param seconds historical_timeout: Maximum age of inactive
......
...@@ -35,7 +35,7 @@ class MappingStorage(object): ...@@ -35,7 +35,7 @@ class MappingStorage(object):
"""In-memory storage implementation """In-memory storage implementation
Note that this implementation is somewhat naive and inefficient Note that this implementation is somewhat naive and inefficient
with regard to locking. It's implementation is primarily meant to with regard to locking. Its implementation is primarily meant to
be a simple illustration of storage implementation. It's also be a simple illustration of storage implementation. It's also
useful for testing and exploration where scalability and efficiency useful for testing and exploration where scalability and efficiency
are unimportant. are unimportant.
......
...@@ -472,7 +472,7 @@ class IStorage(Interface): ...@@ -472,7 +472,7 @@ class IStorage(Interface):
Finalize the storage, releasing any external resources. The Finalize the storage, releasing any external resources. The
storage should not be used after this method is called. storage should not be used after this method is called.
Note that daabses close theor storages when they're closed, so Note that databses close their storages when they're closed, so
this method isn't generally called from application code. this method isn't generally called from application code.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment