You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a high-traffic WooCommerce site, we noted that 75% of all Stream entries (many thousands of them) are for the event "1" tax rate updated, often many being logged within a few seconds or minutes of each other. The object_ids referenced appear to be various related entries in wp_woocommerce_tax_rates. Slightly over 50% of those entries are for user_id 0 while the remaining entries seem to be logged around the time when a user places an order.
There's some indication in woocommerce/woocommerce#30365 that there's an open bug around tax update events in WC being called for orders unexpectedly or unnecessarily, but I haven't found other reports of this from other Stream users, and it's hard to say if that would be causing this specific issue.
Any troubleshooting advice would be welcome. We're wondering if we should just use the wp_stream_log_data filter to avoid logging these events, or if there is a better/longer-term fix that should be pursued to benefit others too. Thank you.
Screenshots
System Information
Stream plugin version: 3.8.2
WordPress version: 5.9.3
PHP version: 7.4.28
Browser: all
Computer operating system: all
The text was updated successfully, but these errors were encountered:
Bug Report
In a high-traffic WooCommerce site, we noted that 75% of all Stream entries (many thousands of them) are for the event
"1" tax rate updated
, often many being logged within a few seconds or minutes of each other. Theobject_id
s referenced appear to be various related entries inwp_woocommerce_tax_rates
. Slightly over 50% of those entries are for user_id 0 while the remaining entries seem to be logged around the time when a user places an order.There's some indication in woocommerce/woocommerce#30365 that there's an open bug around tax update events in WC being called for orders unexpectedly or unnecessarily, but I haven't found other reports of this from other Stream users, and it's hard to say if that would be causing this specific issue.
I believe the related function call is happening at https://github.com/xwp/stream/blob/develop/connectors/class-connector-woocommerce.php#L621.
Any troubleshooting advice would be welcome. We're wondering if we should just use the
wp_stream_log_data
filter to avoid logging these events, or if there is a better/longer-term fix that should be pursued to benefit others too. Thank you.Screenshots
System Information
The text was updated successfully, but these errors were encountered: