Base solution for your next web application
Open Closed

background worker #6237


User avatar
0
rafalpiotrowski created

Hi, When the background worker (singleton) is executing the method DoWork and it has not finished yet but the time to run it again has come (eg. worker is scheduled to run every 1 min, but the DoWork is taking longer to finish) will it try to execute DoWork again before the first is finished?

regards Rafal


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    https://github.com/aspnetboilerplate/aspnetboilerplate/blob/e0ded5d8702f389aa1f5947d3446f16aec845287/src/Abp/BackgroundJobs/BackgroundJobManager.cs#L97

    If no execution is completed, it will wait for it to complete before performing new work.