dev@locazia: fix misprint

This commit is contained in:
user 2024-03-06 10:52:00 +03:00
parent 805e37bfd0
commit b2ab28de82
4 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,7 @@ if __name__ == '__main__':
app.ctx.memory = Memory()
for _target in [uploader_bot_dp, client_bot_dp]:
_target._s_memory = app.ctx.memory
app.ctx.memory._app = app
app.add_task(execute_queue(app))
@ -85,9 +85,9 @@ if __name__ == '__main__':
startup_fn = None
if startup_target == 'indexator':
from app.core.background.indexator_service import main as target_fn
from app.core.background.indexator_service import main_fn as target_fn
elif startup_target == 'uploader':
from app.core.background.uploader_service import main as target_fn
from app.core.background.uploader_service import main_fn as target_fn
elif startup_target == 'ton_daemon':
from app.core.background.ton_service import main as target_fn

View File

@ -3,7 +3,7 @@ from app.core.logger import make_log
import asyncio
async def main():
async def main_fn():
make_log("Indexator", "Service started", level="info")
seqno = 0
while True:

View File

@ -20,7 +20,7 @@ async def get_sw_seqno():
return sw_seqno_value
async def main():
async def main_fn():
make_log("TON", f"Service started, SW = {service_wallet.address.to_string(1, 1, 1)}", level="info")
sw_seqno_value = await get_sw_seqno()
make_log("TON", f"Service wallet run seqno method: {sw_seqno_value}", level="info")

View File

@ -10,7 +10,7 @@ async def uploader_loop():
pass
async def main():
async def main_fn():
make_log("Uploader", "Service started", level="info")
seqno = 0
while True: