When I call IMonitoringApi.Servers() immediately after stop hangfire server, sometimes System.ArgumentNullException occurred like below.
System.ArgumentNullException: Value cannot be null. (Parameter 's')
at System.Int32.Parse(String s)
at Hangfire.Redis.RedisMonitoringApi.<>c__DisplayClass15_0.<Servers>b__2(String x)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at Hangfire.Redis.RedisMonitoringApi.<Servers>b__15_0(IDatabase redis)
at Hangfire.Redis.RedisMonitoringApi.Servers()
So This is better handling the removed servers in IMonitoringApi.Servers().
When I call IMonitoringApi.Servers() immediately after stop hangfire server, sometimes System.ArgumentNullException occurred like below.
So This is better handling the removed servers in IMonitoringApi.Servers().