def update_user_activity_interval(user_profile: UserProfile, log_time: datetime.datetime) -> None:
    event = {'user_profile_id': user_profile.id, 'time': datetime_to_timestamp(log_time)}
    queue_json_publish('user_activity_interval', event)
def update_user_activity_interval(user_profile: UserProfile, log_time: datetime.datetime) -> None:
    event = {'user_profile_id': user_profile.id, 'time': datetime_to_timestamp(log_time)}
    queue_json_publish('user_activity_interval', event)