Currently, DBM::batch_remove_{appointments, users} was being hit even if there was no data to delete. This also applied to trying to delete data from memory, but the latter was less of an issue.
While this was not a thread by itself (no data was actually being deleted), it was certainly wasteful.
Currently,
DBM::batch_remove_{appointments, users}
was being hit even if there was no data to delete. This also applied to trying to delete data from memory, but the latter was less of an issue.While this was not a thread by itself (no data was actually being deleted), it was certainly wasteful.