mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
remove repo_synced event
This commit is contained in:
parent
39e761f392
commit
8a94949d2d
1 changed files with 0 additions and 8 deletions
|
|
@ -399,14 +399,6 @@ export const main = async (context: AppContext) => {
|
||||||
const stats = await syncLocalRepository(repo, db.data.settings, context);
|
const stats = await syncLocalRepository(repo, db.data.settings, context);
|
||||||
indexDuration_s = stats.indexDuration_s;
|
indexDuration_s = stats.indexDuration_s;
|
||||||
}
|
}
|
||||||
|
|
||||||
captureEvent('repo_synced', {
|
|
||||||
vcs: repo.vcs,
|
|
||||||
codeHost: repo.codeHost,
|
|
||||||
indexDuration_s,
|
|
||||||
fetchDuration_s,
|
|
||||||
cloneDuration_s,
|
|
||||||
});
|
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
// @todo : better error handling here..
|
// @todo : better error handling here..
|
||||||
logger.error(err);
|
logger.error(err);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue