Method: Sequel::SequelMethods#single_threaded

Defined in:
lib/sequel/core.rb

#single_threadedObject

Set whether Sequel is being used in single threaded mode. By default, Sequel uses a thread-safe connection pool, which isn’t as fast as the single threaded connection pool, and also has some additional thread safety checks. If your program will only have one thread, and speed is a priority, you should set this to true:

Sequel.single_threaded = true
[View source]

67
68
69
# File 'lib/sequel/core.rb', line 67

def single_threaded
  @single_threaded
end