Roxen.git / server / base_server / fsgc.pike

version» Context lines:

Roxen.git/server/base_server/fsgc.pike:362:    }       void stable_data_change(string path, Stdio.Stat st)    {    if (path == root) return;    GC_WERR("FSGC: Deleting stale file: %O\n", path);    // Override accelerated stable change notification.    if (st->mtime >= time(1) - stable_time) {    GC_WERR("FSGC: Keeping file: %O\n", path);    // Remove the stable notification marker, and reschedule. -  last_change = st->mtime; -  update(st); +  Monitor m = monitor(path, MF_AUTO); +  m->last_change = st->mtime; +  // m->update(st); +  m->check(); // Force an update().    return;    }    rm(path);    }       void reconfigure(int new_max_age, int|void new_max_size,    int|void new_max_files)    {    if (!zero_type(new_max_size)) {    GC_WERR("FSGC: New max size: %d\n", new_max_size);