app/app.go
func ReleaseApplicationLock(appName string) {
	var err error
	retries := 3
	for i := 0; i < retries; i++ {
		err = releaseApplicationLockOnce(appName)
		if err == nil {
			return
		}
		time.Sleep(time.Second * time.Duration(i+1))
	}
	log.Error(err)
}
func ReleaseApplicationLock(appName string) {
	var err error
	retries := 3
	for i := 0; i < retries; i++ {
		err = releaseApplicationLockOnce(appName)
		if err == nil {
			return
		}
		time.Sleep(time.Second * time.Duration(i+1))
	}
	log.Error(err)
}
// ReleaseApplicationLock releases a lock hold on an app, currently it's called
// by a middleware, however, ideally, it should be called individually by each
// handler since they might be doing operations in background.