3 ms·
Yup, if it hits https://httpbin.org/delay/10 https://httpbin.org/delay/10 then the entire script will delay for 10 seconds (unless you have a custom lower timeo
by alexgarcia-xyz 4y ago
Yup, if it hits https://httpbin.org/delay/10 https://httpbin.org/delay/10 then the entire script will delay for 10 seconds (unless you have a custom lower timeout setting). Which means you can only make HTTP requests in serial requests, which sucks, but much simpler than coordinating with other tools
It'll come out in a week, but lmk if you want to play with it beforehand!
- simonw 4y agoHow will it affect other SQLite connections against the same database? My guess is they'll be OK, but presumably any transactions will lock tables for the duration?
- alexgarcia-xyz 4y agoI think you're right, tho not an expert with multiple connections. I think if the DB is in WAL mode and you're only issuing read-only requests, then there will be no lock and long HTTP requests won't lock anything up. But if you issue a write-request that locks tables, then other write-requests will be blocked with long requests. But if you're in journal mode then there's not much you can do. Please correct me if I'm wrong!