seaweedfs/weed/plugin/worker
Chris Lu 5d43f84df7
refactor(plugin): rename detection_interval_seconds → detection_interval_minutes (#9366)
Minutes is the natural granularity for detection cadence — every
production handler already set the seconds field to a 60-multiple
(17*60, 30*60, 3600, 24*60*60). Switching to minutes drops the *60
arithmetic and matches the unit conventions used elsewhere in the
plugin worker forms.

- Proto: AdminRuntimeDefaults + AdminRuntimeConfig.detection_interval_*
  field renamed.
- Helpers: durationFromMinutes / minutesFromDuration alongside the
  existing seconds variants in plugin_scheduler.go.
- Handlers: vacuum, ec_balance, balance, erasure_coding, iceberg,
  admin_script, s3_lifecycle now declare DetectionIntervalMinutes.
- Admin: scheduler_status + types + UI templ + plugin_api.go pass
  through the new field; UI label and table cells switch to "min".
2026-05-08 10:33:02 -07:00
..
handlers feat(worker/s3_lifecycle): plugin handler with admin UI config (#9362) 2026-05-08 10:30:02 -07:00
activity.go refactor(worker): co-locate plugin handlers with their task packages (#9301) 2026-05-02 18:03:13 -07:00
admin_script_handler_test.go refactor(plugin): rename detection_interval_seconds → detection_interval_minutes (#9366) 2026-05-08 10:33:02 -07:00
admin_script_handler.go refactor(plugin): rename detection_interval_seconds → detection_interval_minutes (#9366) 2026-05-08 10:33:02 -07:00
collection_filter.go refactor(worker): co-locate plugin handlers with their task packages (#9301) 2026-05-02 18:03:13 -07:00
config.go refactor(worker): co-locate plugin handlers with their task packages (#9301) 2026-05-02 18:03:13 -07:00
handler_registry.go plugin worker: support job type categories (all, default, heavy) (#8547) 2026-03-07 18:30:58 -08:00
interval.go refactor(worker): co-locate plugin handlers with their task packages (#9301) 2026-05-02 18:03:13 -07:00
testing_senders_test.go refactor(worker): co-locate plugin handlers with their task packages (#9301) 2026-05-02 18:03:13 -07:00
volume_metrics_test.go refactor(worker): co-locate plugin handlers with their task packages (#9301) 2026-05-02 18:03:13 -07:00
volume_metrics.go fix(balance): don't move remote-tiered volumes; don't fatal on missing .idx (#9335) 2026-05-06 15:19:43 -07:00
volume_state.go refactor(worker): co-locate plugin handlers with their task packages (#9301) 2026-05-02 18:03:13 -07:00
worker_test.go Refactor plugin system and migrate worker runtime (#8369) 2026-02-18 13:42:41 -08:00
worker.go Refactor plugin system and migrate worker runtime (#8369) 2026-02-18 13:42:41 -08:00