From a45add5c54137dd1809bf7b780e3eb6a85697ba0 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Tue, 31 Jan 2017 11:18:21 -0500 Subject: [PATCH] Adding Bill Erickson's fix for endless open cstore transactions After applying the fix to LP#1660059, the server running A/T notices generated multiple cstore processes without closing them. Changing xact_commit to commit closes the cstore process after each event is evaluated. --- Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm index bd85e387dd..31eacee6f8 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Event.pm @@ -456,7 +456,7 @@ sub update_state { return undef; } $log->info( "Update of event ".$e->id." suceeded" ); - $ok = $self->editor->xact_commit if ($self->standalone); + $ok = $self->editor->commit if ($self->standalone); } if ($ok) { -- 2.11.0