Skip to content

Commit

Permalink
always use a fresh transaction cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
novas0x2a committed Dec 11, 2009
1 parent 427a02d commit 1768b14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vw/Plate/mod_plate_io.cc
Expand Up @@ -154,7 +154,8 @@ int handle_image(request_rec *r, const std::string& url) {

IndexRecord idx_record;
try {
idx_record = index.index->read_request(col,row,level,index.read_cursor);
/// XXX: This doubles the number of amqp messages
idx_record = index.index->read_request(col,row,level,index.index->transaction_cursor());
} catch(const TileNotFoundErr &) {
throw;
} catch(const vw::Exception &e) {
Expand Down

0 comments on commit 1768b14

Please sign in to comment.