Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Apr 25, 2024
1 parent 564d5a9 commit 9335152
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ee/tabby-webserver/src/cron/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down Expand Up @@ -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
},
)
Expand Down
2 changes: 1 addition & 1 deletion ee/tabby-webserver/src/cron/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9335152

Please sign in to comment.