<commit_before>﻿using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;

namespace FotM.Portal.Infrastructure
{
    [HubName("indexHub")]
    public class IndexHub: Hub
    {
        public void QueryLatestUpdate()
        {
            ReactiveUpdateManager.Instance.SendLatestUpdate(Clients.Caller);
        }

        public override System.Threading.Tasks.Task OnConnected()
        {
            ReactiveUpdateManager.Instance.ClientJoined();
            return base.OnConnected();
        }

        public override System.Threading.Tasks.Task OnDisconnected()
        {
            ReactiveUpdateManager.Instance.ClientLeft();
            return base.OnDisconnected();
        }
    }
}<commit_msg>Added count of reconnected players to fix bug with redeployment of website.<commit_after>﻿using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;

namespace FotM.Portal.Infrastructure
{
    [HubName("indexHub")]
    public class IndexHub: Hub
    {
        public void QueryLatestUpdate()
        {
            ReactiveUpdateManager.Instance.SendLatestUpdate(Clients.Caller);
        }

        public override System.Threading.Tasks.Task OnConnected()
        {
            ReactiveUpdateManager.Instance.ClientJoined();
            return base.OnConnected();
        }

        public override System.Threading.Tasks.Task OnDisconnected()
        {
            ReactiveUpdateManager.Instance.ClientLeft();
            return base.OnDisconnected();
        }

        public override System.Threading.Tasks.Task OnReconnected()
        {
            ReactiveUpdateManager.Instance.ClientJoined();
            return base.OnReconnected();
        }
    }
}
{'fraction_non_alphanumeric': 0.08832246591582692, 'fraction_numerical': 0.0, 'mean_word_length': 2.382765531062124, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3816393', 'n_tokens_mistral': 438, 'n_tokens_neox': 440, 'n_words': 76}