Noval Agung Prayogo
ea35ae4d1f
Chore: Update the xorm dependency ( #22376 )
...
* Upgrade xorm
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-01 15:57:21 +02:00
Carl Bergquist
3798ac903d
Upgrade golangci-lint and fixes some linting errors. ( #22909 )
...
Example: https://play.golang.org/p/cfPIPG3BwjJ
2020-03-23 13:37:53 +01:00
Arve Knudsen
2a78d2a61c
pkg/services: Check errors ( #19712 )
...
* pkg/services: Check errors
* pkg/services: Don't treat context.Canceled|context.DeadlineExceeded as error
2019-10-22 14:08:18 +02:00
Andrej Ocenas
3dbc3251d1
Chore: Deduplicate sqlstore transaction code ( #17069 )
...
* Deduplicate transaction code
* More deduplication
2019-05-16 12:39:59 +02:00
bergquist
3479cf4b39
expose functions to use sessions
2018-06-18 14:50:36 +02:00
bergquist
da91b91b4b
transactions: start sessions and transactions at the same place
...
this make it possible for handler to use `withSession` when
transactions is not nedded and `inTransactionCtx` if its needed
without knowing who owns the session/transaction
2018-06-15 20:52:57 +02:00
bergquist
9ca9a7c302
bus: dont start transaction when creating session
2018-06-15 12:46:20 +02:00
Torkel Ödegaard
442e0e437b
refactoring: transaction manager PR #12203
2018-06-15 12:46:20 +02:00