Beispiel #1
0
        private static void SaveJobFromStackToDB()
        {
            while (!_crawlComplete)
            {
                Thread.Sleep(10);

                if (ParsedJobStack.Instance.Count > 0)
                {
                    ctx.SaveParsedJob(ParsedJobStack.Instance.Pop());
                }
            }
        }