development static method

Configuration optimized for development environments.

Features:

  • Verbose logging for debugging
  • Short timeouts for faster feedback
  • Frequent cache cleanup
  • Auto-sync enabled with short intervals

Implementation

static DatumConfig development() {
  return const DatumConfig(
    autoSyncInterval: Duration(minutes: 5),
    autoStartSync: true,
    syncTimeout: Duration(seconds: 30),
    enableLogging: true,
    logLevel: LogLevel.debug,
    enablePerformanceLogging: true,
    performanceLogThreshold: Duration(milliseconds: 50),
    changeCacheDuration: Duration(seconds: 10),
    maxChangeCacheSize: 500,
    changeCacheCleanupInterval: Duration(seconds: 15),
    remoteSyncBatchSize: 50,
    remoteStreamBatchSize: 25,
    progressEventFrequency: 25,
    remoteEventDebounceTime: Duration(milliseconds: 25),
  );
}