My goal is to use the scheduler to concurrently process as many files as
possible (thousands, for instance).
My tasks are defined in a module, not model.
In the view, a potentially large number of items are selected which
triggers the callback and process below.
*note: *in the function importData, the database is accessed and records
added.
for dataID in dataIDs:
scheduler.queue_task(ImportData, [dataID], timeout=100)
Is there anything I am missing to fully utilize the scheduler for this
purpose?
Please post any caveats, corrections, or tips, and let me know if any other
information is needed.
Thanks,
PV
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.