# Question about sleeping builds in 8.0.4

**URL:** <https://pug.phocassoftware.com/t/question-about-sleeping-builds-in-8-0-4/1216>\
**Category:** Ask the Community\
**Created:** [August 19, 2019, 1:24pm UTC](https://pug.phocassoftware.com/t/question-about-sleeping-builds-in-8-0-4/1216 "2019-08-19T13:24:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron.roma](https://sea1.discourse-cdn.com/flex015/user_avatar/pug.phocassoftware.com/aaron.roma/32/285_2.png) [@aaron.roma](https://pug.phocassoftware.com/u/aaron.roma)\
**Post date:** [August 19, 2019, 1:24pm UTC](https://pug.phocassoftware.com/t/question-about-sleeping-builds-in-8-0-4/1216/1 "2019-08-19T13:24:51Z")

</div>

I’ve got a question about the new “sleep” option for database builds in the 8.0.4 release. I understand how this works in regards to scheduled builds. My question is how this affects builds scheduled “On sync”. If a database is set to rebuild on sync, and I have a sleep window set, will the database build during this sleep window?

I’m hoping this will finally be a solution for when I’m making changes to my sync during the day, and it automatically kicking off hours worth of database rebuilds. I’d like to set the sleep window during the day to prevent rebuilding while I’m making changes to my syncs.

(I know, I could test, just not in a position to at the moment…)

---

<div class="post-metadata">

**Author:** ![anon1590328](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@anon1590328](https://pug.phocassoftware.com/u/anon1590328)\
**Post date:** [August 20, 2019, 5:50am UTC](https://pug.phocassoftware.com/t/question-about-sleeping-builds-in-8-0-4/1216/2 "2019-08-20T05:50:20Z")

</div>

Hi @aaron.roma,  
If you have schedule “On Sync”, and sleep between 12-1pm for example, and you run a sync session between that period, (eg: 12:30pm), it won’t kick the database build. The sleep option is explicitly setting which period of time to exclude any build activity.  
Hope that helps!

---

<div class="post-metadata">

**Author:** ![aaron.roma](https://sea1.discourse-cdn.com/flex015/user_avatar/pug.phocassoftware.com/aaron.roma/32/285_2.png) [@aaron.roma](https://pug.phocassoftware.com/u/aaron.roma)\
**Post date:** [August 20, 2019, 1:21pm UTC](https://pug.phocassoftware.com/t/question-about-sleeping-builds-in-8-0-4/1216/3 "2019-08-20T13:21:35Z")

</div>

Perfect! That is what I was hoping for, and this feature will save me a lot of headaches!
