Ada.SetUp.AdaRunner.HandleNewQuestion C# (CSharp) Method

HandleNewQuestion() private method

Note that is *not* thread safe, and will be executing on separate threads
private HandleNewQuestion ( ActiveQuestion activeQuestion ) : void
activeQuestion ActiveQuestion
return void
        private void HandleNewQuestion(ActiveQuestion activeQuestion)
        {
            //if (activeQuestion.SiteBaseHostAddress != "stackoverflow.com" || qIdCache.Any(x => x == activeQuestion.ID))
            //    return;

            //if (ooooop == 0)
            //{

            //    ooooop = 1;
            //    var t = PostFetcher.GetQuestion("http://stackoverflow.com/questions/35381490");
            //    var t1 = SeApiAccessor.GetQuestion(35381490);
            //}

            //var question = PostFetcher.GetQuestion(activeQuestion);

            //while (qIdCache.Count > 1000)
            //{
            //    uint temp;
            //    qIdCache.TryDequeue(out temp);
            //}
            //qIdCache.Enqueue(question.ID);

            //var sw = new Stopwatch();
            //sw.Start();
            //var res = qChecker.IsDupe(question, currentAlgo);
            //sw.Stop();
            //Console.WriteLine($"Processed post {question.ID} in {sw.ElapsedMilliseconds}ms.");

            //if (res != null)
            //{
            //    var msg = new MessageBuilder();

            //    msg.AppendText($"Possible dupe ({Math.Round(res.MatchScore * 100)}%): ");
            //    msg.AppendLink(question.Title, question.Url);
            //    msg.AppendText($" of {res.LinkToDupeTarget}");

            //    chat.PostMessage(msg.ToString());
            //}
        }