Sync Loops – constant update pulls
-
I have a site with version 2.1.1 that pulls from SF->WP on Create/Update/Delete. It seems after the recent 2.1.0/2.1.1 update something happened, and all records seem to be re-syncing continuously. I was able to throttle it down, but the pending re-sync queue continues to build up. We temporarily disconnected the plugin to stop updates. There are ~4000 records in SF, about 615 should only sync to the website. We have a field “Add to Web” that is set to yes for those 615, but it does need to touch each of those 4000 records to get the “Add to Web” value. This issue resulted in over 500,000 API calls in one week.
When we reconnected, the update syncs resumed at the rapid pace.
This happened just shortly before a bulk update was done to all SF records on January 1. I suspect it began on December 28 when I upgraded from 2.0.3 -> 2.1.1.
Is there a way to flush any pending update syncs and only pull future triggers? It seems to be in an update sync loop. If there was any change in 2.1.0/2.1.1 that changed how record sync status is set, we may need to adjust our custom code to reflect that. I cleared all pending tasks in Action Scheduler, but it seemed to rebuild pending tasks when the plugin was reconnected to SF. [We pull one primary Object from SF, then if it is “Add to Web”, we pull other related SF objects with SOQL.] I am reviewing our code to see exactly what is happening step by step.
Could we update wp_object_sync_sf_object_map columns
object_updatedandlast_syncto the current time so everything is up-to-date? Basically, how can we tell the website and plugin that there are no pending sync actions needed and only sync future triggers?Does turning on logging or debugging in the Object Sync plugin display any feedback on the live webpages, or just on the plugin admin page?
Any insight is useful at this point.
The topic ‘Sync Loops – constant update pulls’ is closed to new replies.