[split-upload 5/6] f2fd4fa backup via proxy
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import asyncio
|
||||
import sys
|
||||
sys.path.insert(0, '/app')
|
||||
|
||||
async def test():
|
||||
from app.services.neo4j_client import get_neo4j_client
|
||||
client = await get_neo4j_client()
|
||||
print(f'Neo4j client: {client}')
|
||||
if client:
|
||||
try:
|
||||
healthy = await client.health_check()
|
||||
print(f'Health check: {healthy}')
|
||||
except Exception as e:
|
||||
print(f'Health check error: {e}')
|
||||
else:
|
||||
print('Neo4j client is None - connection failed')
|
||||
|
||||
asyncio.run(test())
|
||||
Reference in New Issue
Block a user