Hello, All! My first post here.
I am currently working on integrating a 10+ old WP site with Discourse. I have gone to great lengths to ensure that the WP instance is clean and running well with 10 years of data. After installing the WP-Discourse plugin and getting things setup (properly, I hope), the server kept getting slogged. It is hosted on Cloudways, so I asked those engineers if I was missing anything.
They responded that /wp-json/wp-discourse/v1/discourse-comments?post_id=undefined was causing a huge performance hit. I’m not sure exactly why post_id’s would be undefined.
The following picture is a list of url requests within a 24 hour period.
Any thoughts on how I can fix this error? I have searched a lot for a good answer to this. Just making sure I get some insight before deep diving into the nuances of the code.
