21 Feb
2023
21 Feb
'23
7:57 p.m.
Lars Schotte skrev den 2023-02-21 18:04:
Yes, that looks nice, I am going to try that too.
+1
Because every other option is based on some other software, like relayd or nginx, it is all possible, but adds complexity.
+1
The best would be to have it inside connection string.
real fix or even possible is to add failback host=, eg host=localhost failbackfrom=dbi:/path-to-sqlite3 file, with is just cache from postgresql, then postgres can be down, if cache holds the wather
all this imho needs code changes, the cache must not be write cache, only read cache
that means it cant work for dict unless dict is sqlite aswell