Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
node.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2010 at 15:18 UTC
Updated:
12 Jul 2010 at 00:31 UTC
Jump to comment: Most recent
Comments
Comment #1
catchComment #2
damien tournoud commentedI opened #832572: Add a standard worker queue as a push forward to provide a way for modules to easily register long-running bulk operations.
Comment #3
David_Rothstein commentedIs this partly at least a documentation issue? Currently, user_cancel() already explains that it sets a batch but does not process it, meaning the caller can do so in a way that does not actually depend on a browser session. For example, this code successfully deletes user 2 when I run it from PHP on the command line:
It's true that for a massively long delete operation this could theoretically hit the PHP timeout limit, and to fix that something like #832572: Add a standard worker queue would be required, but for now we could also just document how to run this via a non-progressive batch, and mention that this can take a long time so if you are running it outside of the user interface, don't.... unless you have a sufficiently high PHP timeout limit.