Skip to content

Commit

Permalink
use our usual ndb context kwargs in arroba DatabaseStorage
Browse files Browse the repository at this point in the history
for #1149
  • Loading branch information
snarfed committed Dec 18, 2024
1 parent 91b268f commit 36cbbdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atproto.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@

logger = logging.getLogger(__name__)

arroba.server.storage = DatastoreStorage(ndb_client=ndb_client)
arroba.server.storage = DatastoreStorage(ndb_client=ndb_client,
ndb_context_kwargs=common.NDB_CONTEXT_KWARGS)

appview = Client(f'https://{os.environ["APPVIEW_HOST"]}',
headers={'User-Agent': USER_AGENT})
Expand Down

0 comments on commit 36cbbdd

Please sign in to comment.