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
|