Skip to content

Commit

Permalink
temporarily enable debug level ndb logging
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Dec 18, 2024
1 parent 4ea60ad commit 9af6238
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion atproto_hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions router.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9af6238

Please sign in to comment.