Skip to content

Commit 57f2862

Browse files
jsbattigclaude
andcommitted
revert: Remove incorrect use_sqlite from BackgroundJobManager
BackgroundJobManager in repositories/background_jobs.py does not have use_sqlite parameter - that's SyncJobManager in jobs/manager.py. The commit e46528d incorrectly added these parameters, crashing the server. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e46528d commit 57f2862

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/code_indexer/server/app.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2552,13 +2552,9 @@ async def validation_exception_handler(
25522552
db_path=db_path,
25532553
)
25542554
# Initialize BackgroundJobManager with persistence enabled (Story #541 - AC4)
2555-
# Story #702: Use SQLite backend for job storage
25562555
jobs_storage_path = str(Path(server_data_dir) / "jobs.json")
25572556
background_job_manager = BackgroundJobManager(
2558-
storage_path=jobs_storage_path,
2559-
resource_config=server_config.resource_config,
2560-
use_sqlite=True,
2561-
db_path=db_path,
2557+
storage_path=jobs_storage_path, resource_config=server_config.resource_config
25622558
)
25632559
# Inject BackgroundJobManager into GoldenRepoManager for async operations
25642560
golden_repo_manager.background_job_manager = background_job_manager

0 commit comments

Comments
 (0)