Service won't sleep
Project ID: 948196f9-27d3-44cd-bdd2-e50d7b67c7ef
Service ID: f690603f-d911-4602-b9f6-db5aa676591d
I enabled the "Enable App Sleeping" toggle. After 30' of no traffic it didnt sleep so I tried removing public network domain. It's still not sleeping.
Solution:Jump to solution
im seeing auto sleep times from anywhere between 15 to 30 minutes for an app that has no way of making any outbound requests
28 Replies
Project ID:
948196f9-27d3-44cd-bdd2-e50d7b67c7ef,f690603f-d911-4602-b9f6-db5aa676591d
look at the network metrics, does it have any outbound traffic?
some, yes
![No description](https://cdn.answeroverflow.com/1159506886530441277/CleanShot_2023-10-05_at_12.06.16.png)
an active service won't be slept
ok. i dont know what generates that outbound traffic. i'll look into that
question for you, if you had a button that manually slept this service and disabled automatic wakes, would you use it right now? (with a button to also manually wake)
absolutely
i mainly intend to use sleeping for work-in-progress or staging.
i'd sleep it when not working on it.
thought so, a manual sleep and manual only wake has many usecases
cc @Mig
oh, outbound traffic is probably appsignal daemon. a monitoring service.
yep, the sleep deamon monitors any outbound traffic
i'll try disabling it
still not sleeping
![No description](https://cdn.answeroverflow.com/1159513918927011940/CleanShot_2023-10-05_at_12.33.37.png)
it could take up to 30 minutes for the app to auto sleep
oh, ok!
Solution
im seeing auto sleep times from anywhere between 15 to 30 minutes for an app that has no way of making any outbound requests