[storm] How to set isolation level in storm

Jamu Kakar jkakar at kakar.ca
Fri Jun 19 17:28:06 BST 2009


Hi Barry,

On Thu, Jun 18, 2009 at 3:16 PM, Barry Warsaw<barry at canonical.com> wrote:
> Maybe it would be enough to just make some attributes public, e.g.
> SQLite.timeout and SQLite.synchronous.

At first I thought, "Huh, duh, of course this is obvious", but I was
just looking at this thread again and realized that I don't think
something so general will work well because these kinds of settings
are usually per-connection, not global.  An alternative API that
might work would be to provide functions that take a store as an
argument, such as:

SQLite.set_timeout(store, timeout)
SQLite.get_timeout(store)

It doesn't feel quite right to me, but I don't know why.

Thanks,
J.



More information about the storm mailing list