*9-6-15: *The following code was expecting the scheduler to automatically
start the queued workers:
for dataID in dataIDs:
scheduler.queue_task(ImportData, [dataID], immediate=True,
timeout=100)
# tried without immediate
# tried db.commit() after the loop or each queued task
Please tell me what I need to add to this loop to programmatically start
workers after they are queued
To reiterate some of the previous notes, the task function is in a module
and the queued tasks need to operate concurrently.
--
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.