X-Git-Url: http://git.rot13.org/?p=angular-mojolicious.git;a=blobdiff_plain;f=couchdb-trigger.pl;h=873beeece38e6e3f13fb60665f4391c50a0c97f4;hp=02f5c32951170fa997ca211081d5536e13a29fb6;hb=7a00de959d5462d5a52ab35fcd49b71f2ef83936;hpb=f00f9c2bc3e5b79732908def0d4a31fd5f887813 diff --git a/couchdb-trigger.pl b/couchdb-trigger.pl index 02f5c32..873beee 100755 --- a/couchdb-trigger.pl +++ b/couchdb-trigger.pl @@ -25,6 +25,7 @@ my ( $url, $trigger_path ) = @ARGV; $url ||= 'http://localhost:5984/monitor'; $trigger_path ||= 'trigger/shell.pm' ; +sub commit { warn "# commit ignored\n"; } require $trigger_path if -e $trigger_path; my $seq = 0; @@ -114,6 +115,8 @@ while( ! $error ) { } + commit; + }); $client->start($tx);