From: erickson Date: Mon, 13 Jul 2009 13:32:18 +0000 (+0000) Subject: capture the timeout argument to json_query X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=38512bbe224aa91c7354ff3fe54ff2ebe846f9ee;p=Evergreen.git capture the timeout argument to json_query git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@13570 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm index 2c9c2b582b..dfd96216f7 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm @@ -762,6 +762,8 @@ sub json_query { my @arg = ( ref($arg) eq 'ARRAY' ) ? @$arg : ($arg); my $method = $self->app.'.json_query.atomic'; $method =~ s/\.atomic$//o if $self->substream($$options{substream} || 0); + + $self->timeout($$options{timeout}); $self->clear_event; my $obj; my $err;