mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
Revert "Add more tracing to store_sqlite"
This reverts commit 8ffa6b1abe.
This commit is contained in:
@@ -82,7 +82,6 @@ pub struct SqliteCalendarStore {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl SqliteCalendarStore {
|
impl SqliteCalendarStore {
|
||||||
#[instrument]
|
|
||||||
async fn _get_calendar<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _get_calendar<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
principal: &str,
|
principal: &str,
|
||||||
@@ -102,7 +101,6 @@ impl SqliteCalendarStore {
|
|||||||
Ok(cal.into())
|
Ok(cal.into())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _get_calendars<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _get_calendars<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
principal: &str,
|
principal: &str,
|
||||||
@@ -120,7 +118,6 @@ impl SqliteCalendarStore {
|
|||||||
Ok(cals.into_iter().map(Calendar::from).collect())
|
Ok(cals.into_iter().map(Calendar::from).collect())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _get_deleted_calendars<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _get_deleted_calendars<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
principal: &str,
|
principal: &str,
|
||||||
@@ -138,7 +135,6 @@ impl SqliteCalendarStore {
|
|||||||
Ok(cals.into_iter().map(Calendar::from).collect())
|
Ok(cals.into_iter().map(Calendar::from).collect())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _insert_calendar<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _insert_calendar<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
calendar: Calendar,
|
calendar: Calendar,
|
||||||
@@ -167,7 +163,6 @@ impl SqliteCalendarStore {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _update_calendar<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _update_calendar<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
principal: String,
|
principal: String,
|
||||||
@@ -227,7 +222,6 @@ impl SqliteCalendarStore {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _restore_calendar<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _restore_calendar<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
principal: &str,
|
principal: &str,
|
||||||
@@ -244,7 +238,6 @@ impl SqliteCalendarStore {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _get_objects<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _get_objects<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
principal: &str,
|
principal: &str,
|
||||||
@@ -263,7 +256,6 @@ impl SqliteCalendarStore {
|
|||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _calendar_query<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _calendar_query<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
principal: &str,
|
principal: &str,
|
||||||
@@ -298,7 +290,6 @@ impl SqliteCalendarStore {
|
|||||||
.collect()
|
.collect()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _get_object<'e, E: Executor<'e, Database = Sqlite>>(
|
async fn _get_object<'e, E: Executor<'e, Database = Sqlite>>(
|
||||||
executor: E,
|
executor: E,
|
||||||
principal: &str,
|
principal: &str,
|
||||||
@@ -428,7 +419,6 @@ impl SqliteCalendarStore {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument]
|
|
||||||
async fn _sync_changes<'a, A: Acquire<'a, Database = Sqlite>>(
|
async fn _sync_changes<'a, A: Acquire<'a, Database = Sqlite>>(
|
||||||
acquire: A,
|
acquire: A,
|
||||||
principal: &str,
|
principal: &str,
|
||||||
|
|||||||
Reference in New Issue
Block a user