module

Rayo::Server

Constants

SHRINK_ABOVE = 0

Connection buffers go back to the allocator whenever they are empty, so an idle keep-alive connection holds no buffer memory (on a 2 GB box this decides how many connections fit). Buffers are allocated on first use and grow as needed.

Class methods

conn(id : Int32) : Connection
Source
database
Source
database=(database : PG::WorkerPool | Nil)
Source
emit(id : Int32) : Nil
Source
finish(id : Int32) : Nil
Source
flush(id : Int32) : Nil
Source
init(app : App, n : Int32) : Nil
Source
on_data(id : Int32, p : Pointer(UInt8), n : Int32) : Nil
Source
on_eof(id : Int32) : Nil
Source
on_sent(id : Int32, n : Int32) : Nil
Source
process(id : Int32) : Nil
Source

Nested types