mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 20:35:24 +00:00
* add connection compile retry and hard repo limit * add more retry checks * cleanup unused change * address feedback
14 lines
No EOL
401 B
TypeScript
14 lines
No EOL
401 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 * 60, // 1 hour
|
|
resyncConnectionPollingIntervalMs: 1000,
|
|
reindexRepoPollingIntervalMs: 1000,
|
|
indexConcurrencyMultiple: 3,
|
|
configSyncConcurrencyMultiple: 3,
|
|
} |