Service ping times out due to Service count
I noticed GitLab.com usage pings weren't going through, and then I found this Sentry error:
Unfortunately, it looks like the database statement timeout is occurring here:
services: Service.where(active: true).count
It's probably due to a sequence scan since filtering by all active Services isn't really a common activity.