| ▲ | ncruces 4 hours ago | ||||||||||||||||
If you're not making any changes to the database, does the SELECT "kill" you? And if you are making changes, don't you have to poll regardless after the file watcher wakes you? For WAL mode, SQLite can probably satisfy this query just by inspecting some shared memory. But it is busy waiting, sure. | |||||||||||||||||
| ▲ | billywhizz an hour ago | parent | next [-] | ||||||||||||||||
SQLite has a wal hook which calls you back every time a transaction is committed to the WAL. https://www.sqlite.org/c3ref/wal_hook.html | |||||||||||||||||
| |||||||||||||||||
| ▲ | redsocksfan45 2 hours ago | parent | prev [-] | ||||||||||||||||
[dead] | |||||||||||||||||