Since we're kicking one team from another team, the code goes through all direct/indirect members of the team being kicked and tries to delete the TeamParticipation for that member on the super team. As we can see, the mailing-list-beta-testers team has 745 active members, which means our code will iterate through all of them attempting to delete the TP entries (if necessary), timing out after a few hundred iterations. :/
Since we're kicking one team from another team, the code goes through all direct/indirect members of the team being kicked and tries to delete the TeamParticipation for that member on the super team. As we can see, the mailing- list-beta- testers team has 745 active members, which means our code will iterate through all of them attempting to delete the TP entries (if necessary), timing out after a few hundred iterations. :/