INNER CODE UNIT · Go

ReleaseExecutionSlot

ovh/utask · utask.go:349

func ReleaseExecutionSlot() {
	if global == nil {
		return
	}
	if global.executionSemaphore == nil {
		return
	}
	global.executionSemaphore.Release(1)
}

var global *Cfg

// Config returns the global configuration data of this instance
// once lazy-loaded from configstore
func Config(store *configstore.Store) (*Cfg, error) {
	if global == nil {
		global = &Cfg{}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…