[IPython-dev] DictDB
Dave Hirschfeld
dave.hirschfeld at gmail.com
Tue Mar 5 09:58:09 EST 2013
In my ipcontroller_config.py script I've got the following line:
c.HubFactory.db_class = 'IPython.parallel.controller.dictdb.DictDB'
I noticed in the log lots of messages about results being culled and
found that the DictDB has `size_limit`, `record_limit` and `cull_fraction`
attributes
https://github.com/ipython/ipython/blob/master/IPython/parallel/controller/dictd
b.py#L92
There doesn't seem to be any mention of them in the config file so I was
wondering how to set these values.
I assumed it might be something like
c.HubFactory.db_class.size_limit = 10737418240
c.HubFactory.db_class.record_limit = ...
c.HubFactory.db_class.cull_fraction = ...
..but was wondering how I could verify if these settings had worked - e.g. is
there a way to query the controller settings?
Thanks,
Dave
NB: Is the default 1MB or am I reading it wrong?
size_limit = Integer(1024*1024, config=True,
help="""The maximum total size (in bytes) of the buffers stored in the db
More information about the IPython-dev
mailing list