Commit Graph

3 Commits (867f46f78e5777d7bafe83cda3244c1001ce3e60)

Author SHA1 Message Date
kolaente f9ec2f89f2 Add golangci ()
Jonas Östanbäck 9a8ca3e877 Fix broken migration v27 ()
Mirror.interval column type needed to be changed to bigint.
Correct interval where the interval set is < MinInterval.
Jonas 54f0293f0a Mirror sync interval specified as duration string ()
* Sync interval specifed as duration string

* Changed mirror interval text

* make fmt

* Add MinInterval for mirror sync

* Use duration internally

* Changed min default to 10m

* make fmt

* Incorrect default

* Removed defaults in MustDuration()

* Add Mirror interval migration

* Default values corrected

* Use transaction during migration

* Change http 500 to page with error message

* Cleanup session.commit()