enhance: Disable stdout buffer (#28391)

#28390

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
This commit is contained in:
zhagnlu 2023-11-23 19:26:25 +08:00 committed by GitHub
parent bc43c5cf34
commit e9e9b30e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,7 @@ KnowhereInitImpl(const char* conf_file) {
gflags::SetCommandLineOption("flagfile", conf_file);
}
#endif
setbuf(stdout, NULL);
};
std::call_once(init_knowhere_once_, init);