refactor: 清理未使用符号,合并bind_constructor宏,统一init/rebind绑定列表,bind_number改为表驱动
This commit is contained in:
@@ -80,11 +80,6 @@ impl KernelConfig {
|
||||
pub fn set_session_gc_threshold(&mut self, bytes: usize) {
|
||||
self.session_gc_threshold = bytes;
|
||||
}
|
||||
|
||||
pub fn with_session_gc_threshold(mut self, bytes: usize) -> Self {
|
||||
self.session_gc_threshold = bytes;
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for KernelConfig {
|
||||
|
||||
Reference in New Issue
Block a user