Resources constructor

Resources({
  1. int maxReservations = 128,
  2. int maxConnections = 128,
  3. int reservationTtl = 3600,
  4. int connectionDuration = 3600,
  5. int connectionData = 1 << 20,
})

Creates a new resource manager.

Implementation

Resources({
  this.maxReservations = 128,
  this.maxConnections = 128,
  this.reservationTtl = 3600,
  this.connectionDuration = 3600,
  this.connectionData = 1 << 20, // 1 MiB
});