mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00

* fix: performance issues and sqlite locking * fix: dashboard release stats was reversed * refactor: open and migrate db * chore: cleanup
13 lines
178 B
Go
13 lines
178 B
Go
package database
|
|
|
|
import (
|
|
"path"
|
|
)
|
|
|
|
func dataSourceName(configPath string, name string) string {
|
|
if configPath != "" {
|
|
return path.Join(configPath, name)
|
|
}
|
|
|
|
return name
|
|
}
|