Hangfire Server Failure

Hi,
if the program/server stops running, on restart the queued jobs (that are persisted), resume execution automatically?
cheers

Yes, but it may take some time depending on your storage and its version. Some storages use an algorithm based on invisibility timeout, that may affect the time of resume attempt. Others support instant resume on next application start (by using transactions).

Resume after invisibility timeout

  • Hangfire.SqlServer < 1.5.0
  • Hangfire.Pro.Redis
  • Hangfire.PostgreSql

Instant resume

  • Hangfire.SqlServer >= 1.5.0-beta1
  • Hangfire.SqlServer.Msmq
  • Hangfire.SqlServer.RabbitMq