dev@locazia: fix misprint
This commit is contained in:
parent
805e37bfd0
commit
b2ab28de82
|
|
@ -71,7 +71,7 @@ if __name__ == '__main__':
|
||||||
app.ctx.memory = Memory()
|
app.ctx.memory = Memory()
|
||||||
for _target in [uploader_bot_dp, client_bot_dp]:
|
for _target in [uploader_bot_dp, client_bot_dp]:
|
||||||
_target._s_memory = app.ctx.memory
|
_target._s_memory = app.ctx.memory
|
||||||
|
|
||||||
app.ctx.memory._app = app
|
app.ctx.memory._app = app
|
||||||
|
|
||||||
app.add_task(execute_queue(app))
|
app.add_task(execute_queue(app))
|
||||||
|
|
@ -85,9 +85,9 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
startup_fn = None
|
startup_fn = None
|
||||||
if startup_target == 'indexator':
|
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':
|
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':
|
elif startup_target == 'ton_daemon':
|
||||||
from app.core.background.ton_service import main as target_fn
|
from app.core.background.ton_service import main as target_fn
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ from app.core.logger import make_log
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main_fn():
|
||||||
make_log("Indexator", "Service started", level="info")
|
make_log("Indexator", "Service started", level="info")
|
||||||
seqno = 0
|
seqno = 0
|
||||||
while True:
|
while True:
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ async def get_sw_seqno():
|
||||||
return sw_seqno_value
|
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")
|
make_log("TON", f"Service started, SW = {service_wallet.address.to_string(1, 1, 1)}", level="info")
|
||||||
sw_seqno_value = await get_sw_seqno()
|
sw_seqno_value = await get_sw_seqno()
|
||||||
make_log("TON", f"Service wallet run seqno method: {sw_seqno_value}", level="info")
|
make_log("TON", f"Service wallet run seqno method: {sw_seqno_value}", level="info")
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ async def uploader_loop():
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main_fn():
|
||||||
make_log("Uploader", "Service started", level="info")
|
make_log("Uploader", "Service started", level="info")
|
||||||
seqno = 0
|
seqno = 0
|
||||||
while True:
|
while True:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue