Batch API integration
janusman - May 15, 2009 - 21:44
| Project: | Millennium Integration |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
| Project: | Millennium Integration |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
#1
How about this?
#2
I'm convinced it should have Batch API =) Changing title =)
The above patch just imports items between a numbered range.. it would be great to import from a file (copy-pasted or uploaded).
#3
Updated patch.
#4
Committing attached patch.
* Changed the "Add items to import queue" settings tab to "Manual Import". That tab now offers options for importing now (batch API) or via cron runs, and from either a textarea to paste item numbers to, or a numbered range.
* Also, includes some performance improvements to:
millennium.cron.inc so it now asks for items from the bookcart in groups of 50
millennium_get_holdings_info() so it uses both a static cache and cache_set()/get() for holdings information.
* Moved millennium_time_history() to the main module file.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.