开发者

Quartz.NET scheduler suddenly taking a while to return a job detail

开发者 https://www.devze.com 2023-03-27 14:46 出处:网络
I have been using Quartz.NET in my a开发者_运维百科pplication a lot over the past few months, and its performance has always been great. Yesterday, it suddenly began taking much longer than usual to e

I have been using Quartz.NET in my a开发者_运维百科pplication a lot over the past few months, and its performance has always been great. Yesterday, it suddenly began taking much longer than usual to execute something like the following:

JobDetail jobDetail = sched.GetJobDetail(jobName, jobGroup);

Usually the time it takes is not even noticable, and now it takes at least 2-3 seconds - and when adding up multiple of these the speed is appaling.

What can be causing this? If it's any help, I'm using Quartz.NET with an ADO.NET store, and access to this database seems as fast as ever.


Do you have indexes on the tables? Perhaps the table has now had enough entries that this matters?

0

精彩评论

暂无评论...
验证码 换一张
取 消