.NET Windows Service with timer stops responding

前端 未结 7 971
猫巷女王i
猫巷女王i 2020-11-30 05:17

I have a windows service written in c#. It has a timer inside, which fires some functions on a regular basis. So the skeleton of my service:

public partial cl         


        
7条回答
  •  日久生厌
    2020-11-30 05:44

    Have you checked the error logs? Maybe you run out of timers somehow. Maybe you can create just one timer when you initialize the ArchiveService and skip the OnStart stuff.

提交回复
热议问题