sftpgo-mirror/config
Nicola Murino e7eb3476b7 dataprovider: remove transaction for quota update
The update is atomic so no transaction is needed.
Addionally a transaction will ask for a new connection to the pool
and this can deadlock if the pool has a max connection limit too low.

Also make configurable the pool size instead of hard code to the cpu number.

Fixes #47
2019-09-13 08:14:07 +02:00
..
config.go dataprovider: remove transaction for quota update 2019-09-13 08:14:07 +02:00
config_linux.go add version info 2019-08-08 10:01:33 +02:00
config_nolinux.go add version info 2019-08-08 10:01:33 +02:00
config_test.go switch to viper for configuration and use cobra for cli 2019-08-07 22:46:52 +02:00