YSN Blog

My Rendertron Has Been Updated

February 05, 2023

I received the announce about GAE's lifecycle policy. It doesn't affect me now but I found out that I've never setup my rendertron project in my new PC.

At this time, I got a latest version of rendertron and deployed it. My changes were here.

diff --git a/app.yaml b/app.yaml
index 8dc3ab1..73f9c62 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,6 +1,7 @@
 runtime: nodejs12
-instance_class: F4_1G
-automatic_scaling:
-  min_instances: 1
+instance_class: B4_1G
+basic_scaling:
+  max_instances: 1
+  idle_timeout: 1m
 env_variables:
-  DISABLE_LEGACY_METADATA_SERVER_ENDPOINTS: "true"
+  DISABLE_LEGACY_METADATA_SERVER_ENDPOINTS: 'true'
diff --git a/config.json b/config.json
new file mode 100644
index 0000000..b8a7f12
--- /dev/null
+++ b/config.json
@@ -0,0 +1 @@
+{ "datastoreCache": true }

I use rendertron for my https://tennico.app site to handle bots. Then I want it to sleep until it gets new access.