orbit-server / orbit.server / OrbitServerConfig / <init>

<init>

OrbitServerConfig(serverInfo: LocalServerInfo = LocalServerInfo( port = System.getenv("ORBIT_PORT")?.toInt(10) ?: 50056, url = System.getenv("ORBIT_URL") ?: "localhost:50056" ), tickRate: Duration = Duration.ofSeconds(1), pipelineRailCount: Int = 32, pipelineBufferCount: Int = 10_000, nodeLeaseDuration: LeaseDuration = LeaseDuration( expiresIn = Duration.ofSeconds(10), renewIn = Duration.ofSeconds(5) ), addressableLeaseDuration: LeaseDuration = LeaseDuration( expiresIn = Duration.ofMinutes(10), renewIn = Duration.ofMinutes(5) ), cpuPool: CoroutineDispatcher = Pools.createFixedPool("orbit-cpu"), ioPool: CoroutineDispatcher = Pools.createCachedPool("orbit-io"), acquireShutdownLatch: Boolean = true, nodeDirectory: ExternallyConfigured<NodeDirectory> = LocalNodeDirectory.LocalNodeDirectorySingleton, addressableDirectory: ExternallyConfigured<AddressableDirectory> = LocalAddressableDirectory.LocalAddressableDirectorySingleton)