crowdfavorite/wp-social — comment on commit 77ab5173fe5488fb3a9d8e409485560ebe8964c9
File: lib/social/semaphore.php line 28
By alexkingorg:

That means we're introducing a race condition in the upgrade. I would recommend restricting the upgrade process to only running on the settings page. We can show an admin banner asking them to update their settings if the installed version does not match the current version. This is how Twitter Tools functioned previously with success.