IreneKnapp / direct-sqlite

MIT License
35 stars 54 forks source link

Enable use of usleep() #65

Closed dbdbdb closed 7 years ago

dbdbdb commented 7 years ago

Without usleep() sqlite will always sleep for a full second when it need to sleep. This makes the default busy handler very slow. Most operating systems have usleep() today (I guess) but I've added it as a flag so it can be turned off if there still are systems without.

nurpax commented 7 years ago

Good stuff, thanks!

nurpax commented 7 years ago

now on hackage.