ashokadewit

Results 4 comments of ashokadewit

@frankdejonge Any chance this is going to get merged? This problem was described in https://github.com/thephpleague/flysystem-sftp/issues/66 but that issue was closed while the problem still exists. In phpseclib the connection is...

I think the memory goes to the serialized task results. The task result contains the context, which contains the file collection. If not running in parallel this object is passed...

> Can you share your solution? Sure: ``` class UnsetFilesMiddleware implements TaskHandlerMiddlewareInterface { /** * Unset files from task results. * * @param TaskInterface $task * @param TaskRunnerContext $runnercontext *...

> Can you verify swapping the "serialized" context coming back from the worker with the original context also does the trick? It does :)