Commit b98f8d3
committed
Make shelflist exporters use batch mode w/Redis
When running e.g. ItemsToSolr exports that generate shelflists and store
them in Redis, some of those shelflists can get quite large. This change
simply adds batch options to the code that saves the shelflists in
Redis, taking advantage of the changes to 'utils.redisobjs' -- so we get
the performance improvements from the optimizations without potentially
committing GIANT shelflists to Redis all at once and blocking for
seconds at a time while a transaction runs.1 parent cbfd76d commit b98f8d3
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
0 commit comments