From: erickson Date: Mon, 13 Jul 2009 13:32:04 +0000 (+0000) Subject: capture the timeout argument to json_query X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5abacbcef0e2b2cff37eca7da49161e5135b1880;p=Evergreen.git capture the timeout argument to json_query git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@13568 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 df479741dc..dbfc384558 100644 --- a/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Utils/CStoreEditor.pm @@ -813,6 +813,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;