Skip to content

Commit 50d375f

Browse files
committed
fix expired projects
1 parent 2d29ffd commit 50d375f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

src/fe/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class WebAppConfig:
1919
QUEUE_SIZE = 100
2020

2121
# Cache settings
22-
CACHE_EXPIRY_DAYS = 30
22+
CACHE_EXPIRY_DAYS = 365
2323

2424
# Job cleanup settings
2525
JOB_CLEANUP_HOURS = 24

src/fe/routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ def __init__(self, background_worker: BackgroundWorker, cache_manager: CacheMana
3434
async def index_get(self, request: Request) -> HTMLResponse:
3535
"""Main page with form for submitting GitHub repositories."""
3636
# Clean up old jobs before displaying
37-
self.cleanup_old_jobs()
37+
# self.cleanup_old_jobs()
3838

3939
# Get recent jobs (last 10)
4040
all_jobs = self.background_worker.get_all_jobs()
4141
recent_jobs = sorted(
4242
all_jobs.values(),
4343
key=lambda x: x.created_at,
4444
reverse=True
45-
)[:10]
45+
)[:100]
4646

4747
context = {
4848
"message": None,

0 commit comments

Comments
 (0)