Console not displaying messages
See original GitHub issueHi, I’m using on Hangfire console 1.3.0 with Hangfire 1.6.9, I’m using MySql storage but console is not displayed on Job Details.
My startup:
GlobalConfiguration.Configuration
.UseStorage(new MySqlStorage("HangFireMySqlContext"))
.UseConsole(new ConsoleOptions { ExpireIn = TimeSpan.FromDays(30) });
var dashboardOptions = new DashboardOptions();
dashboardOptions.Authorization = new[] { new HangFireAuthorizationFilter() };
app.UseHangfireDashboard("/hangfire" , dashboardOptions);
app.UseHangfireServer(new BackgroundJobServerOptions { WorkerCount = 3 });
HangfireServices services = new HangfireServices();
services.StartDownload();
services.StartParse();
services.StartSend();
I tried to turn-off cache for all application in this way:
public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new OutputCacheAttribute { VaryByParam = "*", Duration = 0, NoStore = true, }); } }
I check the records are properly stored on “set” table in my database but I had no display on Job Details, sometimes when I reset my database and re-start deployment the first time of job execution display console but not on the next scheduled times.
Looking to Chrome Developer Tools \ Network, I can see no \hangfire\console requests
Do you have some idea to fix it ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (9 by maintainers)
Top GitHub Comments
Nice. The issue can be closed now, I suppose.
Fix released at https://www.nuget.org/packages/Hangfire.MySqlStorage/