0

I have tasks that get some content from multiple urls in the internet. When i run my parser with addTask - all works good. And all tasks are completed. But when i run addTaskBackground that doesn't block runTasks() ...Then i can fill queue every time...but many tasks doesn't finish.

What im doing wrong? Maybe i can set timeout for job, if job doesn't finish it starts again?

Christian Stewart
  • 15,217
  • 20
  • 82
  • 139
sandra1n
  • 133
  • 1
  • 1
  • 10

0 Answers0