# What exactly does "delayed" do in the elasticsearch\_service resource

**URL:** <https://discuss.elastic.co/t/what-exactly-does-delayed-do-in-the-elasticsearch-service-resource/57635>\
**Category:** Elasticsearch\
**Created:** [August 9, 2016, 11:36pm UTC](https://discuss.elastic.co/t/what-exactly-does-delayed-do-in-the-elasticsearch-service-resource/57635 "2016-08-09T23:36:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![red888](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@red888](https://discuss.elastic.co/u/red888)\
**Post date:** [August 9, 2016, 11:36pm UTC](https://discuss.elastic.co/t/what-exactly-does-delayed-do-in-the-elasticsearch-service-resource/57635/1 "2016-08-09T23:36:16Z")

</div>

In my recipe which uses the elasticsearch cookbook I have this line:  
`notifies :restart, 'elasticsearch_service[elasticsearch]', :delayed`

I know what it does (restart service on config changes), but what does "delayed" do? I see this line in the docs, but not explanation of the delayed keyword. just curious if the delayed word is necessary or if there are other possible values for that.

---

<div class="post-metadata">

**Author:** ![DiscussBuster](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/discussbuster/32/11042_2.png) [@DiscussBuster](https://discuss.elastic.co/u/DiscussBuster)\
**Post date:** [August 10, 2016, 2:32am UTC](https://discuss.elastic.co/t/what-exactly-does-delayed-do-in-the-elasticsearch-service-resource/57635/2 "2016-08-10T02:32:50Z")

</div>

[https://docs.chef.io/resource\_common.html](https://docs.chef.io/resource_common.html)

---

<div class="post-metadata">

**Author:** ![red888](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@red888](https://discuss.elastic.co/u/red888)\
**Post date:** [August 10, 2016, 2:26pm UTC](https://discuss.elastic.co/t/what-exactly-does-delayed-do-in-the-elasticsearch-service-resource/57635/3 "2016-08-10T14:26:41Z")

</div>

Ah didn't release that was just a chef thing

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:28pm UTC](https://discuss.elastic.co/t/what-exactly-does-delayed-do-in-the-elasticsearch-service-resource/57635/4 "2017-07-05T22:28:48Z")

</div>


