Notice, unlike pool.map, the order of the results may not correspond to the order in which the pool.apply_async calls were made. So, if you need to run a function in a separate process, but want the current process to block until that function returns, use Pool.apply. Like Pool.apply...
"""Testing calling task with ignoring results.""" result = add.apply_async((1, 2), ignore_result=True) assert result.get() is None Both of them pass. This does not mean there is no bug here. It means that we haven't covered an edge case. thedrow added the Status: Confirmed...
When I set retry to True, it should run the default number of max_retries and if not working, it should throw an exception. Actual behavior The function runs forever and blocks the process. Error Stack Trace I press ctrl+c to get the following error inforamtion: In [1]: from tasks ...
How would you go about calling a setTimeout for the "this.updateViewIE();" call in the following portion of code for an XSLTHelper class? My attempts have produced either "'updateViewIE' is undefined" or "'updateViewIE' is null or not an object" errors. updateView: function ()...