Commit ede7dc4
fix: add configurable timeout to FalkorDB wait loop
The wait loop could block forever if FalkorDB never became reachable.
Now uses FALKORDB_WAIT_TIMEOUT (default 30s) via the bash SECONDS
variable to track elapsed time, logging a clear error message and
exiting non-zero if the timeout is exceeded.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0096860 commit ede7dc4
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
0 commit comments