Commit 06eaa88
committed
fix: 1. Configurable timeout: postAndReply now reads AGENT_REPLY_TIMEOUT_MS env var (default 30s), with improved error message showing the timeout value
2. Double-logging fix: OrderContext.evaluate now returns Error [| e.Message |] instead of re-raising, so the error is logged once at the service level and wrapped into a Result — no second log entry from ApiImpl1 parent c359a43 commit 06eaa88
File tree
2 files changed
+14
-3
lines changed- src
- Informedica.Agents.Lib
- Informedica.GenPRES.Server
2 files changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
| 282 | + | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
288 | 299 | | |
289 | | - | |
| 300 | + | |
290 | 301 | | |
291 | 302 | | |
292 | | - | |
| 303 | + | |
293 | 304 | | |
294 | 305 | | |
295 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
0 commit comments