From 9af62388272d3baf2d63271a7f650c28c030c5bb Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Wed, 18 Dec 2024 15:15:46 -0800 Subject: [PATCH] temporarily enable debug level ndb logging for #1149 https://github.com/googleapis/python-ndb/blob/c55ec62b5153787404488b046c4bf6ffa02fee64/google/cloud/ndb/utils.py#L78-L81 --- app.yaml | 3 +++ atproto_hub.yaml | 3 ++- router.yaml | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app.yaml b/app.yaml index 141d6910..f1b5db1d 100644 --- a/app.yaml +++ b/app.yaml @@ -35,6 +35,9 @@ env_variables: MEMCACHE_HOST: '10.126.144.3' # ...or test against labeler.dholms.xyz / did:plc:vzxheqfwpbi3lxbgdh22js66 + # https://github.com/googleapis/python-ndb/blob/c55ec62b5153787404488b046c4bf6ffa02fee64/google/cloud/ndb/utils.py#L78-L81 + NDB_DEBUG: true + handlers: # static diff --git a/atproto_hub.yaml b/atproto_hub.yaml index c8e4cd54..53bb59b0 100644 --- a/atproto_hub.yaml +++ b/atproto_hub.yaml @@ -32,9 +32,10 @@ env_variables: MOD_SERVICE_DID: did:plc:ar7c4by46qjdydhdevvrndac # ...or test against labeler.dholms.xyz / did:plc:vzxheqfwpbi3lxbgdh22js66 MEMCACHE_HOST: '10.126.144.3' - ROLLBACK_WINDOW: 200000 SUBSCRIBE_REPOS_BATCH_DELAY: 10 + # https://github.com/googleapis/python-ndb/blob/c55ec62b5153787404488b046c4bf6ffa02fee64/google/cloud/ndb/utils.py#L78-L81 + NDB_DEBUG: true # need only one instance so that new commits can be delivered to subscribeRepos # subscribers in memory diff --git a/router.yaml b/router.yaml index 3f56ceca..32759c87 100644 --- a/router.yaml +++ b/router.yaml @@ -26,6 +26,8 @@ env_variables: CHAT_HOST: api.bsky.chat CHAT_DID: did:web:api.bsky.chat MEMCACHE_HOST: '10.126.144.3' + # https://github.com/googleapis/python-ndb/blob/c55ec62b5153787404488b046c4bf6ffa02fee64/google/cloud/ndb/utils.py#L78-L81 + NDB_DEBUG: true automatic_scaling: min_num_instances: 2