Commit f32029b
committed
graph, store: Add GRAPH_STORE_SETUP_TIMEOUT for database setup
Add a separate timeout for database setup operations (migrations, schema
creation, FDW configuration) which can legitimately take longer than
normal runtime operations. This fixes timeout issues during runner tests
when using the default 5s GRAPH_STORE_CONNECTION_TIMEOUT.
The new GRAPH_STORE_SETUP_TIMEOUT defaults to 30s and is used only during
database initialization via the new get_for_setup() method, preserving
the fast-fail behavior (5s) for production runtime operations.1 parent aaea83f commit f32029b
File tree
4 files changed
+34
-9
lines changed- docs
- graph/src/env
- store/postgres/src/pool
4 files changed
+34
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
219 | 222 | | |
220 | 223 | | |
221 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
| 221 | + | |
217 | 222 | | |
218 | 223 | | |
219 | 224 | | |
| |||
299 | 304 | | |
300 | 305 | | |
301 | 306 | | |
| 307 | + | |
| 308 | + | |
302 | 309 | | |
303 | 310 | | |
304 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
623 | 635 | | |
624 | 636 | | |
625 | 637 | | |
| |||
701 | 713 | | |
702 | 714 | | |
703 | 715 | | |
704 | | - | |
| 716 | + | |
705 | 717 | | |
706 | 718 | | |
707 | 719 | | |
| |||
751 | 763 | | |
752 | 764 | | |
753 | 765 | | |
754 | | - | |
| 766 | + | |
755 | 767 | | |
756 | 768 | | |
757 | 769 | | |
| |||
790 | 802 | | |
791 | 803 | | |
792 | 804 | | |
793 | | - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
794 | 809 | | |
795 | 810 | | |
796 | 811 | | |
| |||
808 | 823 | | |
809 | 824 | | |
810 | 825 | | |
811 | | - | |
| 826 | + | |
812 | 827 | | |
813 | 828 | | |
814 | 829 | | |
| |||
845 | 860 | | |
846 | 861 | | |
847 | 862 | | |
848 | | - | |
| 863 | + | |
849 | 864 | | |
850 | 865 | | |
851 | 866 | | |
| |||
897 | 912 | | |
898 | 913 | | |
899 | 914 | | |
900 | | - | |
| 915 | + | |
901 | 916 | | |
902 | 917 | | |
903 | 918 | | |
| |||
907 | 922 | | |
908 | 923 | | |
909 | 924 | | |
910 | | - | |
| 925 | + | |
911 | 926 | | |
912 | 927 | | |
913 | 928 | | |
| |||
919 | 934 | | |
920 | 935 | | |
921 | 936 | | |
922 | | - | |
| 937 | + | |
923 | 938 | | |
924 | 939 | | |
925 | 940 | | |
| |||
0 commit comments