diff --git a/ee/tabby-webserver/src/cron/db.rs b/ee/tabby-webserver/src/cron/db.rs index 3ca759dcc222..122f84483e66 100644 --- a/ee/tabby-webserver/src/cron/db.rs +++ b/ee/tabby-webserver/src/cron/db.rs @@ -5,7 +5,7 @@ use std::{sync::Arc, time::Duration}; use anyhow::Result; use futures::Future; use tokio_cron_scheduler::Job; -use tracing::error; +use tracing::{debug, error}; use super::github::refresh_all_repositories; use crate::schema::{ @@ -59,6 +59,7 @@ pub async fn update_integrated_github_repositories_job( EVERY_TEN_MINUTES, github_repository_provider, |github_repository_provider| async move { + debug!("Syncing github repositories..."); refresh_all_repositories(github_repository_provider).await }, ) diff --git a/ee/tabby-webserver/src/cron/github.rs b/ee/tabby-webserver/src/cron/github.rs index 4d49a3a1e3fa..ff5904d13919 100644 --- a/ee/tabby-webserver/src/cron/github.rs +++ b/ee/tabby-webserver/src/cron/github.rs @@ -4,7 +4,7 @@ use anyhow::Result; use chrono::Utc; use juniper::ID; use octocrab::{models::Repository, GitHubError, Octocrab}; -use tracing::warn; +use tracing::{debug, warn}; use crate::schema::github_repository_provider::{ GithubRepositoryProvider, GithubRepositoryProviderService,