()
return len(redis.get("last_requests"))
Returns the number of currently active users.
    Updates this number after an intervals since the last update.
Returns the number of currently active users.
    Updates this number after an intervals since the last update.
Returns the number of currently active users . Updates this number after an intervals since the last update .
def get_count() -> int:
    """Returns the number of currently active users.
    Updates this number after an intervals since the last update."""
    if time.time() - redis.get("last_user_count_update") >= 60:
        update_user_count()
    return len(redis.get("last_requests"))
def get_count ( ) -> int : if time . time ( ) - redis . get ( "last_user_count_update" ) >= 60 : update_user_count ( ) return len ( redis . get ( "last_requests" ) )