fix: some comments (#2843)

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter 2024-03-03 19:55:34 +08:00 committed by GitHub
parent c664e841f6
commit e02d3404e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ npm run dev
This will start UI server on port 8081, to change port specify it in vite.config.ts This will start UI server on port 8081, to change port specify it in vite.config.ts
In order for you to effectively use the UI you would want to have the openobserve API server running in a seperate window that will accept requests from the UI. In order for you to effectively use the UI you would want to have the openobserve API server running in a separate window that will accept requests from the UI.
## Swagger ## Swagger

View File

@ -26,7 +26,7 @@ pub async fn init() -> Result<(), anyhow::Error> {
// because of asynchronous, we need to wait for a while // because of asynchronous, we need to wait for a while
tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; tokio::time::sleep(tokio::time::Duration::from_secs(1)).await;
// check imcomplete work group // check incomplete work group
#[cfg(feature = "enterprise")] #[cfg(feature = "enterprise")]
o2_enterprise::enterprise::search::queue::clean(CONFIG.limit.query_timeout as i64).await?; o2_enterprise::enterprise::search::queue::clean(CONFIG.limit.query_timeout as i64).await?;

View File

@ -321,7 +321,7 @@ impl FromRequest for AuthExtractor {
let object_type = match stream_type { let object_type = match stream_type {
Some(stream_type) => { Some(stream_type) => {
if stream_type.eq(&StreamType::EnrichmentTables) { if stream_type.eq(&StreamType::EnrichmentTables) {
// since enrichment tables have seperate permissions // since enrichment tables have separate permissions
let stream_type_str = format!("{stream_type}"); let stream_type_str = format!("{stream_type}");
object_type.replace( object_type.replace(