mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: Add connect_timeout to PostgreSQL DSN and add server logs to CI
PDO ATTR_TIMEOUT does not control connection timeout for the pgsql driver. Without connect_timeout in the DSN, the PDO constructor blocks indefinitely if PostgreSQL isn't ready, which blocks the Swoole master process event loop (since coroutine hooks are not enabled in http.php) and prevents all HTTP request dispatching. Also add appwrite server logs to CI failure output for debugging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
9b5695a21b
commit
fc893e1c7e
@@ -303,6 +303,8 @@ jobs:
|
||||
- name: Failure Logs
|
||||
if: failure()
|
||||
run: |
|
||||
echo "=== Appwrite Server Logs ==="
|
||||
docker compose logs appwrite
|
||||
echo "=== Appwrite Worker Builds Logs ==="
|
||||
docker compose logs appwrite-worker-builds
|
||||
echo "=== OpenRuntimes Executor Logs ==="
|
||||
|
||||
Reference in New Issue
Block a user