added locking to RssSyncJob
This commit is contained in:
parent
6c17639ade
commit
333a88ebd1
|
@ -56,7 +56,11 @@ namespace NzbDrone.Core.Jobs.Implementations
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
reports.AddRange(indexer.FetchRss());
|
var parseResults = indexer.FetchRss();
|
||||||
|
lock (reports)
|
||||||
|
{
|
||||||
|
reports.AddRange(parseResults);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue