Revert "[KYUUBI #816] [KYUUBI 813] Fix requestTimeoutUnit in FrontendService"

This reverts commit 0a87a254f7.
This commit is contained in:
Kent Yao 2021-07-16 12:47:20 +08:00
parent 0a87a254f7
commit a13b770f85
No known key found for this signature in database
GPG Key ID: F7051850A0AF904D
2 changed files with 1 additions and 6 deletions

View File

@ -88,7 +88,7 @@ class FrontendService private (name: String, be: BackendService, oomHook: Runnab
.protocolFactory(new TBinaryProtocol.Factory)
.inputProtocolFactory(
new TBinaryProtocol.Factory(true, true, maxMessageSize, maxMessageSize))
.requestTimeout(requestTimeout).requestTimeoutUnit(TimeUnit.MILLISECONDS)
.requestTimeout(requestTimeout).requestTimeoutUnit(TimeUnit.SECONDS)
.beBackoffSlotLength(beBackoffSlotLength)
.beBackoffSlotLengthUnit(TimeUnit.MILLISECONDS)
.executorService(executor)

View File

@ -1,5 +0,0 @@
package org.apache.kyuubi.client
class KyuubiSyncThriftClient {
}