mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-05-17 23:31:31 +00:00
The SchedulerConfig struct and its persistence/API were unnecessary indirection. Replace with a simple constant (reduced from 613s to 61s) so the scheduler re-checks for detectable job types promptly after going idle, improving the clean-install experience.
6 lines
82 B
Go
6 lines
82 B
Go
package plugin
|
|
|
|
import "time"
|
|
|
|
const defaultSchedulerIdleSleep = 61 * time.Second
|