Hello members.

Question

  I'm using Sequel with Celluloid(https://celluloid.io)
  Celluloid is a multithread library for Ruby.
  
  And SQLite db is the file database. not on-memory db.
    
  I got SQLite3::BusyException, so I would like to avoid this exception.
  
  It is possible to access sqlite db from one thread at once?
  Or should I access to sqlite from one thread?
  
  I changed those values , It seems good. 
    max_connections: 1
    pool_timeout: 10
  
  Should I change another parameters?
  
  Is there any best practice configuration for connect sqlite3 with multi 
thread?
  
Environment

  OSX: 10.10.2
  Ruby: 2.2.1p85
  Sequel: 4.20.0
  SQLite: 3.8.5
  sqlite-ruby: 1.3.10
  celluloid: 0.16.0
  
--
Hiroyuki Sato.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to