[KYUUBI #816] [KYUUBI 813] Fix requestTimeoutUnit in FrontendService
Fix requestTimeoutUnit in FrontendService #813 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/tools/testing.html#running-tests) locally before make a pull request Closes #816 from wuchunfu/813. Closes #816 d15797ca [wuchunfu] [KYUUBI 813] Fix requestTimeoutUnit in FrontendService Authored-by: wuchunfu <319355703@qq.com> Signed-off-by: Kent Yao <yao@apache.org>
This commit is contained in:
parent
0e5bec78ff
commit
0a87a254f7
@ -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.SECONDS)
|
||||
.requestTimeout(requestTimeout).requestTimeoutUnit(TimeUnit.MILLISECONDS)
|
||||
.beBackoffSlotLength(beBackoffSlotLength)
|
||||
.beBackoffSlotLengthUnit(TimeUnit.MILLISECONDS)
|
||||
.executorService(executor)
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
package org.apache.kyuubi.client
|
||||
|
||||
class KyuubiSyncThriftClient {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user