The Presence State module takes too long to load when there are over 70k user groups in an instance. The reason is due to the Presence State form displaying the "Apply to groups" column as a slushbucket rather than a list.
1. Create 70k+ groups in the instance.
2. Go to presence state,.
3. Open a record.
4. Uncheck apply to all groups field.
This problem is under review. To receive notifications when more information becomes available, subscribe to this Known Error article by clicking the Subscribe button at the top right of this form.
The workaround consists in changing the field type for the "Apply to groups" field from slushbucket to list, and then configuring the list to reference the Group table: