SharePoint TimerJobs and Streams

I wrote a SharePoint 2010 application that uses TimerJob to start processing some of the documents in the list. The timer starts every minute, but processing may take more than a minute. I'm just wondering if the next timer job trigger will start using a new thread or if the timer service just wait for the first thread to finish. That is, I have no idea how Sharepoint manages the threads for TimerJobs, and I cannot find any relevant information.

Perhaps this is a problem, given that my definition of TimerJob has the following:

 public override void Execute(Guid contentDbId)
    {
        try
        {
            SPWebApplication webApplication = this.Parent as SPWebApplication;
            SPContentDatabase contentDb = webApplication.ContentDatabases[contentDbId];
            using (SPSite site = contentDb.Sites[0])
            {
                using (SPWeb web = site.RootWeb)
                {                       
                    PRManager.TriggerProcessing(web);    // ?                   
                }
            }
        }                      
        catch (Exception)
        { 
        }
    }
}

PRManager.TriggerProcessing() - , , , , , SharePoint , .

.

+3
1

, "", "".

SharePoint , , . , , .

, . . , , ​​ .

, , . , SharePoint, . , .

+3

Source: https://habr.com/ru/post/1733972/


All Articles