mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 12:55:19 +00:00
* refactor repo indexing logic into RepoManager * wip cleanup stale repos * add rest of gc logic * set status to indexing properly
14 lines
No EOL
387 B
TypeScript
14 lines
No EOL
387 B
TypeScript
import { Settings } from "./types.js";
|
|
|
|
/**
|
|
* Default settings.
|
|
*/
|
|
export const DEFAULT_SETTINGS: Settings = {
|
|
maxFileSize: 2 * 1024 * 1024, // 2MB in bytes
|
|
autoDeleteStaleRepos: true,
|
|
reindexIntervalMs: 1000 * 60,
|
|
resyncConnectionPollingIntervalMs: 1000,
|
|
reindexRepoPollingInternvalMs: 1000,
|
|
indexConcurrencyMultiple: 3,
|
|
configSyncConcurrencyMultiple: 3,
|
|
} |