project Utilities / File Location Listing avatar

utilities/file_location_listing#48: Make Index Freshness Check period configurable



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.2.6
Created: 26-Feb-24 09:11



Description

The HTTP server will periodicially perform an index freshness check to see whether a reload is needed.

Currently, that period is hardcoded as 300s (5 minutes) - should probably make that a configurable



Toggle State Changes

Activity


assigned to @btasker

verified

mentioned in commit 36cf85b5f76dd85dd5eac64a840fd582ae7e0a97

Commit: 36cf85b5f76dd85dd5eac64a840fd582ae7e0a97 
Author: B Tasker                            
                            
Date: 2024-02-26T12:29:44.000+00:00 

Message

feat: make index freshness check a configurable (utilities/file_location_listing#48)

+3 -1 (4 lines changed)

The period can now be controlled via an env var:

INDEX_CHECK_INTERVAL=900