Fix UnmergeWorker being exceptionally slow in some conditions (#18110)
Fix UnmergeWorker being exceptionally slow in some conditions (#18110)


MitarashiDango/mastodon,pinfort/mastodon,yukimochi/mastodon,h3zjp/mastodon,cobodo/mastodon,musashino205/mastodon,tootcafe/mastodon,pinfort/mastodon,Ryanaka/mastodon,gol-cha/mastodon,ykzts/mastodon,ykzts/mastodon,musashino205/mastodon,cobodo/mastodon,h3zjp/mastodon,imas/mastodon,glitch-soc/mastodon,gol-cha/mastodon,maa123/mastodon,theoria24/mastodon,Ryanaka/mastodon,imas/mastodon,tootcafe/mastodon,gol-cha/mastodon,gol-cha/mastodon,maa123/mastodon,tootcafe/mastodon,theoria24/mastodon,im-in-space/mastodon,glitch-soc/mastodon,tootcafe/mastodon,imas/mastodon,pinfort/mastodon,koba-lab/mastodon,h3zjp/mastodon,yukimochi/mastodon,h3zjp/mastodon,musashino205/mastodon,koba-lab/mastodon,masto-donte-com-br/mastodon,imas/mastodon,im-in-space/mastodon,MitarashiDango/mastodon,koba-lab/mastodon,Ryanaka/mastodon,yukimochi/mastodon,masto-donte-com-br/mastodon,ykzts/mastodon,theoria24/mastodon,MitarashiDango/mastodon,koba-lab/mastodon,theoria24/mastodon,masto-donte-com-br/mastodon,MitarashiDango/mastodon,glitch-soc/mastodon,musashino205/mastodon,im-in-space/mastodon,masto-donte-com-br/mastodon,Ryanaka/mastodon,maa123/mastodon,yukimochi/mastodon,cobodo/mastodon,cobodo/mastodon,maa123/mastodon,glitch-soc/mastodon,im-in-space/mastodon,pinfort/mastodon,ykzts/mastodon