dev@locazia: add indexator, uploader
This commit is contained in:
1 parent
7eb012bdcc
commit
308099f8de
5 files changed
+118
-10
No files matched your search
@@ -0,0 +1,17 @@
|
||||
|
||||
from app.core.logger import make_log
|
||||
import asyncio
|
||||
|
||||
|
||||
async def main():
|
||||
make_log("Indexator", "Service started", level="info")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
loop = asyncio.get_event_loop()
|
||||
loop.run_until_complete(main())
|
||||
loop.close()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
from app.core.logger import make_log
|
||||
import asyncio
|
||||
|
||||
|
||||
async def main():
|
||||
make_log("Uploader", "Service started", level="info")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
loop = asyncio.get_event_loop()
|
||||
loop.run_until_complete(main())
|
||||
loop.close()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user