mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-09-28 04:37:40 +02:00
fix ws ip
This commit is contained in:
parent
d376b4ae4f
commit
7971d3c8e4
@ -18,7 +18,7 @@ data class WebClient(
|
||||
val atInt = AtomicInteger()
|
||||
fun next() = atInt.getAndAdd(1)
|
||||
}
|
||||
val id = "${ws.call.request.local.host}(${ws.call.request.origin.host})-${IdGen.next()}"
|
||||
val id = "${ws.call.request.local.remoteHost}(${ws.call.request.origin.remoteHost})-${IdGen.next()}"
|
||||
val listenedIds: MutableSet<UUID> = Sets.newConcurrentHashSet()
|
||||
val rateLimiter = RateLimiter.create(VIAaaSConfig.rateLimitWs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user