Ejegg has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/378765 )
Change subject: Donations QC: don't call ganglia module ...................................................................... Donations QC: don't call ganglia module TODO: replace with prometheus Bug: T176167 Change-Id: I54955fff5b344dc30d2606d71f23741f8949300e --- M sites/all/modules/queue2civicrm/queue2civicrm.module 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm refs/changes/65/378765/1 diff --git a/sites/all/modules/queue2civicrm/queue2civicrm.module b/sites/all/modules/queue2civicrm/queue2civicrm.module index f0da868..f190f9d 100644 --- a/sites/all/modules/queue2civicrm/queue2civicrm.module +++ b/sites/all/modules/queue2civicrm/queue2civicrm.module @@ -166,6 +166,7 @@ * * TODO: the ganglia stuff should be a hook */ + /* $gmetric_tmax = variable_get( 'queue2civicrm_gmetric_tmax', 60 ); $gmetric_dmax = variable_get( 'queue2civicrm_gmetric_dmax', 360 ); $counter = Queue2civicrmTrxnCounter::instance(); @@ -173,7 +174,7 @@ module_invoke( 'ganglia_reporter', 'send_metric', $gateway . ' donations', $count, 'int8', 'donations', 'both', $gmetric_tmax, $gmetric_dmax ); } module_invoke( 'ganglia_reporter', 'send_metric', 'Total donations', $counter->get_count_total(), 'int8', 'donations', 'both', $gmetric_tmax, $gmetric_dmax ); - + */ if ($processed > 0) { watchdog('queue2civicrm', 'Successfully processed ' . $processed . ' contribution(s).'); } -- To view, visit https://gerrit.wikimedia.org/r/378765 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I54955fff5b344dc30d2606d71f23741f8949300e Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/crm Gerrit-Branch: master Gerrit-Owner: Ejegg <ej...@ejegg.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits