Fix lint
All checks were successful
CI / Check (push) Successful in 5m50s
Build and publish Docker image / build-and-push (push) Successful in 7m35s

This commit is contained in:
Andras Schmelczer 2026-06-04 23:17:35 +01:00
parent c938b71904
commit 0a8cf84365
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -28,3 +28,4 @@ r5-java/tmp
property-data property-data
property-data2 property-data2
property-data3 property-data3
property-data4

View file

@ -171,7 +171,7 @@ fn enable_jemalloc_background_thread() {
// Safety: write-only mallctl of a bool to a valid control name. // Safety: write-only mallctl of a bool to a valid control name.
unsafe { unsafe {
tikv_jemalloc_sys::mallctl( tikv_jemalloc_sys::mallctl(
b"background_thread\0".as_ptr().cast(), c"background_thread".as_ptr().cast(),
std::ptr::null_mut(), std::ptr::null_mut(),
std::ptr::null_mut(), std::ptr::null_mut(),
std::ptr::addr_of!(enabled) as *mut core::ffi::c_void, std::ptr::addr_of!(enabled) as *mut core::ffi::c_void,