# Hangfire Server Failure

**URL:** <https://discuss.hangfire.io/t/hangfire-server-failure/1143>\
**Category:** question\
**Created:** [July 15, 2015, 1:23pm UTC](https://discuss.hangfire.io/t/hangfire-server-failure/1143 "2015-07-15T13:23:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iaag](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@iaag](https://discuss.hangfire.io/u/iaag)\
**Post date:** [July 15, 2015, 1:23pm UTC](https://discuss.hangfire.io/t/hangfire-server-failure/1143/1 "2015-07-15T13:23:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![odinserj](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/odinserj/32/648_2.png) [@odinserj](https://discuss.hangfire.io/u/odinserj)\
**Post date:** [July 27, 2015, 10:41am UTC](https://discuss.hangfire.io/t/hangfire-server-failure/1143/2 "2015-07-27T10:41:49Z")

</div>

Yes, but it may take some time depending on your storage and its version. Some storages use an algorithm based on [invisibility timeout](http://docs.hangfire.io/en/latest/configuration/using-sql-server.html#configuring-the-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
