-
worker.main.py
worker.module.tick.tick.py
worker console result
It seems like the task function not get fired with process scheduler.main.py
scheduler console result
above code work if i change the job_executor to thread
and data get inserted to database Please help, i need run the function in process |
Beta Was this translation helpful? Give feedback.
Answered by
ardevik
Jun 30, 2024
Replies: 1 comment 1 reply
-
i found the answer in anyio documentation, we need to check the name before calling asyncio.run(main())
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ardevik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i found the answer in anyio documentation, we need to check the name before calling asyncio.run(main())