The Repo.transaction wrapping Repo.stream() held a checkout for the entire iteration, including the LLM HTTP call. When the LLM took >15s, Postgrex killed the connection, cascading to all subsequent orgs. Collect org IDs first, then process each independently. |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||