File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ async def watch_messages(
354
354
355
355
class DomainNode (MessageCache , BaseAuthenticatedAlephClient ):
356
356
"""
357
- A Domain Node is a queryable proxy for Aleph Messages that are stored in a database cache and/or in the Aleph
357
+ A Domain Node is a queryable proxy for aleph.im Messages that are stored in a database cache and/or in the aleph.im
358
358
network.
359
359
360
360
It synchronizes with the network on a subset of the messages (the "domain") by listening to the network and storing the
@@ -388,7 +388,7 @@ def __init__(
388
388
self .message_types = message_types
389
389
390
390
# start listening to the network and storing messages in the cache
391
- asyncio .get_event_loop (). create_task (
391
+ asyncio .create_task (
392
392
self .listen_to (
393
393
self .session .watch_messages (
394
394
channels = self .channels ,
@@ -401,7 +401,7 @@ def __init__(
401
401
)
402
402
403
403
# synchronize with past messages
404
- asyncio .get_event_loop (). run_until_complete (
404
+ asyncio .run (
405
405
self .synchronize (
406
406
channels = self .channels ,
407
407
tags = self .tags ,
You can’t perform that action at this time.
0 commit comments