I have a couple of services which use PeriodicExecutor to perform
background tasks.

When service implementation reloads in development mode, instantiated
background job isn't stopped. So, after implementation is reloaded, it
creates another background jobs while previous one still exists and
continues to run. What could you recommend to solve this problem?

Is there any explicit way to signal particular implementation that it's
about to be reloaded?

Thanks in advance.

-- 
Ilya Obshadko

Reply via email to