Back

[CLOSED] Maintenance Interval not Recreating Containers

  • 0
  • Functions
Infinil
17 Nov, 2023, 02:42

I edited .env file and set it to 5 minutes. Afterwards, I did docker compose down and docker compose up -d but I dont notice the containers being destroyed even tho they are up for like 18 hours and run every 20-30 minutes..

TL;DR
Issue: The maintenance interval is not recreating containers as expected. Possible solution: The user needs to adjust the `_APP_FUNCTIONS_MAINTENANCE_INTERVAL` environment variable in the `.env` file and then restart the containers using the commands `docker compose down` and `docker compose up -d`. However, it is mentioned that changing the maintenance interval does not affect the runtime containers.
Infinil
17 Nov, 2023, 02:42
Drake
17 Nov, 2023, 03:22

that maintenance interval doesn't actually affect those runtime containers

Drake
17 Nov, 2023, 03:23

You need to look at these:

Infinil
17 Nov, 2023, 03:48

oh 💀

Infinil
17 Nov, 2023, 03:48

right i am dumb lmao lemme try those

Infinil
17 Nov, 2023, 03:53

i read the description i am kind of confused between the two

Infinil
17 Nov, 2023, 03:53

so i did get what inactive threshold is supposed to do

Infinil
17 Nov, 2023, 03:54

maintenance would just restart as an extra step?

Drake
17 Nov, 2023, 03:54

No that one determines how often the check is done

Drake
17 Nov, 2023, 03:54

This one is during the check, which ones are removed

Infinil
17 Nov, 2023, 03:55

ohh i see now gotcha

Infinil
17 Nov, 2023, 03:55

thanks

Infinil
17 Nov, 2023, 05:44

[CLOSED] Maintenance Interval not Recreating Containers

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more