Review queue filled with "pending" users not clearing after disabling "must approve users" site setting

It depends if you want to keep the history around of the reviewable or not.

The nuclear option if you don’t care about history is to open a rails console and do this:

ReviewableUser.pending.delete_all

If you want to approve them you can do this:

ReviewableUser.pending.each { |r| r.perform(Discourse.system_user, :approve_user) }