Updated asyncio debugging.
This commit is contained in:
		
							parent
							
								
									3ccbe8be5c
								
							
						
					
					
						commit
						ebb520dd4a
					
				| @ -7,8 +7,8 @@ services: | ||||
|     volumes: | ||||
|       - ./:/code | ||||
|     environment: | ||||
|      - PYTHONDONTWRITEBYTECODE="1" | ||||
|      - PYTHONUNBUFFERED="1" | ||||
|      - PYTHONDONTWRITEBYTECODE=1 | ||||
|      - PYTHONUNBUFFERED=1 | ||||
|     #entrypoint: ["gunicorn", "-w", "1", "-k", "aiohttp.worker.GunicornWebWorker", "snek.gunicorn:app","--bind","0.0.0.0:8081"] | ||||
|     entrypoint: ["python","-m","snek.app"] | ||||
|   snecssh: | ||||
|  | ||||
| @ -1,7 +1,9 @@ | ||||
| import pathlib | ||||
| 
 | ||||
| import asyncio | ||||
| 
 | ||||
| import logging  | ||||
| logging.basicConfig(level=logging.DEBUG) | ||||
| 
 | ||||
| from aiohttp import web | ||||
| from aiohttp_session import ( | ||||
|     get_session as session_get, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user