DEV Community

frkanyilmaz2
frkanyilmaz2

Posted on

Killing a process shuts uvicorn server down inside Docker Container

Can someone please give me an insight about this?

I prepared a worker for data processing. When a request comes to this route

 @worker.post('/process/production-process-monthly/start', tags=["worker"])
 async def calculate_solar_monthly(
   config: Settings = Depends(get_setting)
    body: Union[CalculateSolarEnergyMonthly, None] = Body(
        None, title="These values are for choosing the calculation model of the accumulated data.",
        description="Refers to units not like electricity, natural gas, oil.",

Top comments (0)