File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -205,6 +205,26 @@ async fn main_entrypoint() -> Result<()> {
205
205
format!( "connected to endpoints {:#?}" , conf. meta. endpoints)
206
206
}
207
207
) ;
208
+ println ! (
209
+ "Memory: {}" ,
210
+ if conf. query. max_memory_limit_enabled {
211
+ format!(
212
+ "Memory: server memory limit to {} (bytes)" ,
213
+ conf. query. max_server_memory_usage
214
+ )
215
+ } else {
216
+ "unlimited" . to_string( )
217
+ }
218
+ ) ;
219
+ println ! ( "Cluster: {}" , {
220
+ let cluster = ClusterDiscovery :: instance( ) . discover( & conf) . await ?;
221
+ let nodes = cluster. nodes. len( ) ;
222
+ if nodes > 1 {
223
+ format!( "[{}] nodes" , nodes)
224
+ } else {
225
+ "standalone" . to_string( )
226
+ }
227
+ } ) ;
208
228
println ! ( "Storage: {}" , conf. storage. params) ;
209
229
println ! ( "Cache: {}" , conf. storage. cache. params) ;
210
230
println ! (
You can’t perform that action at this time.
0 commit comments