У меня есть планировщик в консольном приложении .net core, и я хочу подключить панель Crystal Quartz Panel к приложению asp net Core.
Планировщик консоли .net core: Quartz 3.0.7
asp .net Core app Quartz 3.0.7, CrystalQuartz.AspNetCore 6.8.1
Когда я запускаю приложение asp net core, программа завершается с сообщением Процесс завершается из-за исключения StackOverflowException.
это часть моего консольного приложения Quartz .net Core
"quartz.threadPool.type": "Quartz.Simpl.SimpleThreadPool, Quartz",
"quartz.threadPool.threadCount": "5",
"quartz.threadPool.threadPriority": "Normal",
"quartz.scheduler.exporter.type":
"Quartz.Simpl.RemotingSchedulerExporter, Quartz",
"quartz.scheduler.exporter.channelType": "tcp",
"quartz.scheduler.exporter.bindName": "QuartzScheduler",
"quartz.scheduler.exporter.port": 666
Это мое промежуточное ПО в ядре aspnet
app.UseCrystalQuartz(new RemoteSchedulerProvider()
{
SchedulerHost = "tcp://localhost:666/QuartzScheduler",
});
Подробнее здесь: https://stackoverflow.com/questions/541 ... e-schedule
Приложение ASP.NET Core с планировщиком Crystal Quartz не работает с удаленным планировщиком ⇐ C#
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение