Skip to content
Browse files

update docs for worker results

  • Loading branch information...
1 parent 20ae53f commit b5fc7bd7c3341061fc20259b95caeb7b2b293b7d @gnufied committed Oct 4, 2008
Showing with 9 additions and 1 deletion.
  1. +9 −1 doc/content/rails/rails.txt
10 doc/content/rails/rails.txt
@@ -75,7 +75,15 @@ rails using:
<pre class="boxed">status_obj = MiddleMan.worker(:foo_worker).ask_result(cache_key) </pre>
-You can as usual use @worker_key@ if *worker was started with a worker_key*.
+You must use @worker_key@ if *worker was started with a worker_key*.
+From controller, you can also reset result stored for a particular worker, with particular cache key.
+This is only applicable, if you are using memcache for storing results.
+<pre class="multiline">
+MiddleMan.worker(:foo_worker).reset_memcache_result(cache_key) # or
%(entry-title)<a name="persistent_task"> Enqueue task to the persistent job queue : </a>%

0 comments on commit b5fc7bd

Please sign in to comment.
Something went wrong with that request. Please try again.