mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 12:25:22 +00:00
* [wip] initial mt support in config syncer * Move logout button & profile picture into settings dropdown (#172) * update sync status properly and fix bug with multiple config in db case * make config path required in single tenant mode NOTE: deleting config/repos is currently not supported in multi tenancy case. Support for this will be added in a future PR --------- Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
13 lines
No EOL
369 B
TypeScript
13 lines
No EOL
369 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,
|
|
resyncIntervalMs: 1000 * 60 * 60 * 24, // 1 day in milliseconds
|
|
indexConcurrencyMultiple: 3,
|
|
configSyncConcurrencyMultiple: 3,
|
|
} |