Repository navigation
Commit b1d7275
fix: detect postgres dbType and make agent upstream optional
- SlowQueriesSection: Accept both 'postgres' and 'postgresql' dbType
The API returns dbType as 'postgres' but the code only checked for 'postgresql'
- nginx: Use resolver for deepsql-agent upstream
Makes hostname resolution happen at request time instead of startup,
allowing nginx to start even when deepsql-agent container is down
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>1 parent 75be4ae commit b1d7275
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments