private static void SaveJobFromStackToDB() { while (!_crawlComplete) { Thread.Sleep(10); if (ParsedJobStack.Instance.Count > 0) { ctx.SaveParsedJob(ParsedJobStack.Instance.Pop()); } } }
private static void SaveJobFromStackToDB() { while (!_crawlComplete) { Thread.Sleep(10); if (ParsedJobStack.Instance.Count > 0) { ctx.SaveParsedJob(ParsedJobStack.Instance.Pop()); } } }