zhaomin1423 commented on code in PR #42221:
URL: https://github.com/apache/spark/pull/42221#discussion_r1280832560
##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/config/Connect.scala:
##########
@@ -121,4 +121,18 @@ object Connect {
.version("3.5.0")
.booleanConf
.createWithDefault(false)
+
+ val CONNECT_USER_SESSION_CACHE_SIZE =
+ ConfigBuilder("spark.connect.userSession.cacheSize")
+ .doc("Sets the cache size of user session.")
+ .version("4.0.0")
+ .intConf
+ .createWithDefault(100)
+
+ val CONNECT_USER_SESSION_CACHE_TIMEOUT =
+ ConfigBuilder("spark.connect.userSession.cacheTimeout")
+ .doc("Sets the cache timeout of user session.")
+ .version("4.0.0")
+ .intConf
+ .createWithDefault(3600)
Review Comment:
Thanks for your input, look forward to your work.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]