use Result;
use GraphRepo;
use PgPool;
use info;
/// Run the background decay job on graph edge weights.
///
/// Applies exponential decay (multiply by 0.95) to all edge weights,
/// then deletes edges that have decayed below 0.05.
///
/// Returns the number of deleted edges.
pub async