[IPython-dev] task client equivalence

MinRK benjaminrk@gmail....
Fri Jun 10 13:17:00 CDT 2011


Since the controller uses a database rather than storing everything in
memory, it should be less important (from a memory footprint perspective,
anyway) to clear the data.

It is now Client.purge_results(msg_ids) to clear data in the Hub (Views wrap
this method as well).  It expects msg_ids, but you can pass it AsyncResults,
since they are just really just containers of msg_ids.

-MinRK

On Fri, Jun 10, 2011 at 09:56, Satrajit Ghosh <satra@mit.edu> wrote:

> what would be the ipy:xi equivalent of:
>
> taskclient.clear(taskid)
>
> given that currently no taskid is returned but an async result object, how
> do i clear things related to that process after its done?
>
> cheers,
>
> satra
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20110610/1e1a9f99/attachment.html 


More information about the IPython-dev mailing list