diff options
author | Eric Wong <e@yhbt.net> | 2011-01-17 03:25:09 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-17 09:18:31 +0000 |
commit | dec261ad23b0ca7a2a8166056f04df18a896130e (patch) | |
tree | d53828c99d6e170d6c01ea8bf244958931d946cf /lib/metropolis | |
parent | 2c913347a6e5cc8be776b14e1a177adec0fbd5b6 (diff) | |
download | metropolis-dec261ad23b0ca7a2a8166056f04df18a896130e.tar.gz |
tdb: remove "threadsafe" option
We won't be supporting thread-safety, too difficult without upstream support.
Diffstat (limited to 'lib/metropolis')
-rw-r--r-- | lib/metropolis/tdb.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/metropolis/tdb.rb b/lib/metropolis/tdb.rb index 56709b1..56e588d 100644 --- a/lib/metropolis/tdb.rb +++ b/lib/metropolis/tdb.rb @@ -19,13 +19,6 @@ module Metropolis::TDB size = @query['hash_size'] and @tdb_opts[:hash_size] = size.to_i hash = @query['hash'] and @tdb_opts[:hash] = hash.to_sym - case @query['threadsafe'] - when 'true'; @tdb_opts[:threadsafe] = true - when 'false', nil - else - raise ArgumentError, "'threadsafe' must be 'true' or 'false'" - end - case @query['volatile'] when 'true'; @tdb_opts[:tdb_flags] |= TDB::VOLATILE when 'false', nil |