Online User Count is Completely Wrong
I'm trying to get an accurate count of online users and it's quite obvious the count is completely wrong just by looking at the results I'm encountering on my staging environment.
The LIQL query used is fairly simple:
SELECT count(*) FROM users WHERE online_status='online'
Given the number of people who access our staging server, I would expect the result of this to be a low single digit number.
Instead, I got a result of over 30 users.
So I dug into the API results:
SELECT login,last_visit_time FROM users WHERE online_status='online'
The results list users with last visit times from 2020 and 2021 as well as users from earlier in 2022 that I know for a fact aren't online.
How is Khoros defining an "online user" here?
Is the behavior I'm seeing a bug or expected behavior?